commit | f5cb3574682b4e1bb740e99f200a4e5e585a166e | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Aug 24 16:52:18 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Aug 24 16:52:18 2001 +0000 |
tree | 2fe03a77e928ca85b780d47c724c9975eb424a65 | |
parent | 609c7c8e87dc98bf3bc55643383f94141c37ace9 [diff] [blame] |
Add 'super' builtin type.
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 77fe384..62bf2a7 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c
@@ -1938,6 +1938,9 @@ 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;