diff options
author | Guido van Rossum <guido@python.org> | 2001-08-30 03:10:36 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-08-30 03:10:36 (GMT) |
commit | 147b13c069b192a08774f86dea55d541d21c64ac (patch) | |
tree | 157afc71a13ad32b504c00db490ce3402a3f4a3b /Objects | |
parent | d93dce1699ed40efdd2f69c18861eba2fa8806f3 (diff) | |
download | cpython-147b13c069b192a08774f86dea55d541d21c64ac.zip cpython-147b13c069b192a08774f86dea55d541d21c64ac.tar.gz cpython-147b13c069b192a08774f86dea55d541d21c64ac.tar.bz2 |
Make getset subclassable.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/descrobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/descrobject.c b/Objects/descrobject.c index 4971b4c..0324ac2 100644 --- a/Objects/descrobject.c +++ b/Objects/descrobject.c @@ -975,7 +975,7 @@ PyTypeObject PyGetSet_Type = { PyObject_GenericGetAttr, /* tp_getattro */ 0, /* tp_setattro */ 0, /* tp_as_buffer */ - Py_TPFLAGS_DEFAULT, /* tp_flags */ + Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /* tp_flags */ getset_doc, /* tp_doc */ 0, /* tp_traverse */ 0, /* tp_clear */ |