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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=63e0a645624e7772a3c0c7132d8051d1af2d8320;p=thirdparty%2FPython%2Fcpython.git 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 e192e8b9c77c..e01c4398d6d0 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 */ };