Kaydet (Commit) f5cb3574 authored tarafından Guido van Rossum's avatar Guido van Rossum

Add 'super' builtin type.

üst 609c7c8e
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment