summaryrefslogtreecommitdiffstats
path: root/Objects/descrobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-08-30 03:10:36 (GMT)
committerGuido van Rossum <guido@python.org>2001-08-30 03:10:36 (GMT)
commit147b13c069b192a08774f86dea55d541d21c64ac (patch)
tree157afc71a13ad32b504c00db490ce3402a3f4a3b /Objects/descrobject.c
parentd93dce1699ed40efdd2f69c18861eba2fa8806f3 (diff)
downloadcpython-147b13c069b192a08774f86dea55d541d21c64ac.zip
cpython-147b13c069b192a08774f86dea55d541d21c64ac.tar.gz
cpython-147b13c069b192a08774f86dea55d541d21c64ac.tar.bz2
Make getset subclassable.
Diffstat (limited to 'Objects/descrobject.c')
-rw-r--r--Objects/descrobject.c2
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 */