diff options
| author | Guido van Rossum <guido@python.org> | 2001-08-24 16:52:18 (GMT) |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2001-08-24 16:52:18 (GMT) |
| commit | f5cb3574682b4e1bb740e99f200a4e5e585a166e (patch) | |
| tree | 2fe03a77e928ca85b780d47c724c9975eb424a65 /Python/bltinmodule.c | |
| parent | 609c7c8e87dc98bf3bc55643383f94141c37ace9 (diff) | |
| download | cpython-f5cb3574682b4e1bb740e99f200a4e5e585a166e.zip cpython-f5cb3574682b4e1bb740e99f200a4e5e585a166e.tar.gz cpython-f5cb3574682b4e1bb740e99f200a4e5e585a166e.tar.bz2 | |
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 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; |
