From: Guido van Rossum Date: Fri, 24 Aug 2001 16:52:18 +0000 (+0000) Subject: Add 'super' builtin type. X-Git-Tag: v2.2a3~341 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f5cb3574682b4e1bb740e99f200a4e5e585a166e;p=thirdparty%2FPython%2Fcpython.git Add 'super' builtin type. --- diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 77fe3844c314..62bf2a7e3a70 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -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;