projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
609c7c8
)
Add 'super' builtin type.
author
Guido van Rossum
<guido@python.org>
Fri, 24 Aug 2001 16:52:18 +0000
(16:52 +0000)
committer
Guido van Rossum
<guido@python.org>
Fri, 24 Aug 2001 16:52:18 +0000
(16:52 +0000)
Python/bltinmodule.c
patch
|
blob
|
history
diff --git
a/Python/bltinmodule.c
b/Python/bltinmodule.c
index 77fe3844c314ccb7602e1ea35dab0a7e6a3be545..62bf2a7e3a709409527be83e3d5aa181aaebd0f2 100644
(file)
--- 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;