summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-08-30 04:37:15 (GMT)
committerGuido van Rossum <guido@python.org>2001-08-30 04:37:15 (GMT)
commit31bcff8815f263ab25ac9458f7b45975d8ebecbc (patch)
treeb5615f0a06c24633880a87115b80c0f72bd49ce1 /Objects
parente023fe0eefc60d0e7c01cbb38d176ec2e59d9a2a (diff)
downloadcpython-31bcff8815f263ab25ac9458f7b45975d8ebecbc.zip
cpython-31bcff8815f263ab25ac9458f7b45975d8ebecbc.tar.gz
cpython-31bcff8815f263ab25ac9458f7b45975d8ebecbc.tar.bz2
Make 'super' subclassable. (Not sure how useful this is yet. :-)
Diffstat (limited to 'Objects')
-rw-r--r--Objects/typeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index cd45baf..559c41b 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -3259,7 +3259,7 @@ PyTypeObject PySuper_Type = {
super_getattro, /* tp_getattro */
0, /* tp_setattro */
0, /* tp_as_buffer */
- Py_TPFLAGS_DEFAULT, /* tp_flags */
+ Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /* tp_flags */
super_doc, /* tp_doc */
0, /* tp_traverse */
0, /* tp_clear */