summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-08-06 18:51:38 (GMT)
committerGuido van Rossum <guido@python.org>2001-08-06 18:51:38 (GMT)
commit63e0a645624e7772a3c0c7132d8051d1af2d8320 (patch)
tree4b3d9da8c3a2d8f5ed435ea5ef9c955c0bf9d04f
parentb4ee68c3859f325fe2fc40f78f911f064f0e1473 (diff)
downloadcpython-63e0a645624e7772a3c0c7132d8051d1af2d8320.zip
cpython-63e0a645624e7772a3c0c7132d8051d1af2d8320.tar.gz
cpython-63e0a645624e7772a3c0c7132d8051d1af2d8320.tar.bz2
Remove spurious "closed" attribute definition from the memberlist
table. (reported as an aside in SF #446049).
-rw-r--r--Objects/fileobject.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c
index e192e8b..e01c439 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 */
};