summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-08-24 16:52:18 (GMT)
committerGuido van Rossum <guido@python.org>2001-08-24 16:52:18 (GMT)
commitf5cb3574682b4e1bb740e99f200a4e5e585a166e (patch)
tree2fe03a77e928ca85b780d47c724c9975eb424a65 /Python
parent609c7c8e87dc98bf3bc55643383f94141c37ace9 (diff)
downloadcpython-f5cb3574682b4e1bb740e99f200a4e5e585a166e.zip
cpython-f5cb3574682b4e1bb740e99f200a4e5e585a166e.tar.gz
cpython-f5cb3574682b4e1bb740e99f200a4e5e585a166e.tar.bz2
Add 'super' builtin type.
Diffstat (limited to 'Python')
-rw-r--r--Python/bltinmodule.c3
1 files changed, 3 insertions, 0 deletions
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 @@ _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;