summaryrefslogtreecommitdiff
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-11-03 21:36:22 +0200
committerEzio Melotti <ezio.melotti@gmail.com>2012-11-03 21:36:22 +0200
commit46f36c8eeef40dc1b68be5514ed8b52c14c374a2 (patch)
tree5ae69bbff352be6084384242297ee677b4eec5b3 /Python/bltinmodule.c
parent1a60c7a058d2b7cb5d844845e32376cef0c9b8f9 (diff)
parent9653e7ac7f1e6ca106848def3bd3f0a59e349d10 (diff)
downloadcpython-46f36c8eeef40dc1b68be5514ed8b52c14c374a2.tar.gz
Merge typo fixes (and the fix for #8401 that I wrongly merged) with 3.3.
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r--Python/bltinmodule.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 0e6e6ff9ff..fac64bcc69 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -2405,6 +2405,12 @@ PyObject *
_PyBuiltin_Init(void)
{
PyObject *mod, *dict, *debug;
+
+ if (PyType_Ready(&PyFilter_Type) < 0 ||
+ PyType_Ready(&PyMap_Type) < 0 ||
+ PyType_Ready(&PyZip_Type) < 0)
+ return NULL;
+
mod = PyModule_Create(&builtinsmodule);
if (mod == NULL)
return NULL;