mirror of
https://github.com/python/cpython.git
synced 2025-07-12 13:55:34 +00:00
Add 'super' builtin type.
This commit is contained in:
parent
609c7c8e87
commit
f5cb357468
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue