mirror of
https://github.com/python/cpython.git
synced 2026-05-27 22:56:48 -04:00
Make 'super' subclassable. (Not sure how useful this is yet. :-)
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user