diff options
author | Guido van Rossum <guido@python.org> | 2001-08-24 16:52:18 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-08-24 16:52:18 +0000 |
commit | f5cb3574682b4e1bb740e99f200a4e5e585a166e (patch) | |
tree | 2fe03a77e928ca85b780d47c724c9975eb424a65 /Python/bltinmodule.c | |
parent | 609c7c8e87dc98bf3bc55643383f94141c37ace9 (diff) | |
download | cpython-git-f5cb3574682b4e1bb740e99f200a4e5e585a166e.tar.gz |
Add 'super' builtin type.
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r-- | Python/bltinmodule.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 77fe3844c3..62bf2a7e3a 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; |