From: Guido van Rossum Date: Mon, 6 Aug 2001 18:51:38 +0000 (+0000) Subject: Remove spurious "closed" attribute definition from the memberlist X-Git-Tag: v2.2a3~795 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=63e0a645624e7772a3c0c7132d8051d1af2d8320;p=python Remove spurious "closed" attribute definition from the memberlist table. (reported as an aside in SF #446049). --- diff --git a/Objects/fileobject.c b/Objects/fileobject.c index e192e8b9c7..e01c4398d6 100644 --- a/Objects/fileobject.c +++ b/Objects/fileobject.c @@ -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 */ };