Add 'super' builtin type.

This commit is contained in:
Guido van Rossum 2001-08-24 16:52:18 +00:00
parent 609c7c8e87
commit f5cb357468

View file

@ -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;