mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Add 'super' builtin type.
This commit is contained in:
@@ -1938,6 +1938,9 @@ _PyBuiltin_Init(void)
|
||||
return NULL;
|
||||
if (PyDict_SetItemString(dict, "str", (PyObject *) &PyString_Type) < 0)
|
||||
return NULL;
|
||||
if (PyDict_SetItemString(dict, "super",
|
||||
(PyObject *) &PySuper_Type) < 0)
|
||||
return NULL;
|
||||
if (PyDict_SetItemString(dict, "tuple",
|
||||
(PyObject *) &PyTuple_Type) < 0)
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user