Make 'super' subclassable. (Not sure how useful this is yet. :-)

This commit is contained in:
Guido van Rossum 2001-08-30 04:37:15 +00:00
parent e023fe0eef
commit 31bcff8815

View file

@ -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 */