commit | 31bcff8815f263ab25ac9458f7b45975d8ebecbc | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Aug 30 04:37:15 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Aug 30 04:37:15 2001 +0000 |
tree | b5615f0a06c24633880a87115b80c0f72bd49ce1 | |
parent | e023fe0eefc60d0e7c01cbb38d176ec2e59d9a2a [diff] [blame] |
Make 'super' subclassable. (Not sure how useful this is yet. :-)
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 @@ 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 */