]> granicus.if.org Git - python/commitdiff
Remove spurious "closed" attribute definition from the memberlist
authorGuido van Rossum <guido@python.org>
Mon, 6 Aug 2001 18:51:38 +0000 (18:51 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 6 Aug 2001 18:51:38 +0000 (18:51 +0000)
table.  (reported as an aside in SF #446049).

Objects/fileobject.c

index e192e8b9c77c15ac2d6ed6bbd7f40eb86a3ea357..e01c4398d6d0403a19455d5855bb57138a90bf7c 100644 (file)
@@ -1268,7 +1268,6 @@ static struct memberlist file_memberlist[] = {
        {"mode",        T_OBJECT,       OFF(f_mode),    RO},
        {"name",        T_OBJECT,       OFF(f_name),    RO},
        /* getattr(f, "closed") is implemented without this table */
-       {"closed",      T_INT,          0,              RO},
        {NULL}  /* Sentinel */
 };