diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-05-09 18:10:51 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-05-09 18:10:51 (GMT) |
commit | 8bc5b681599b66887f69ca54631d6e1ce4894252 (patch) | |
tree | 0faf1412a3f8470e37e1cc7476b5ba573769ae9a /Objects | |
parent | c3491d310f1777eacb8faf245c50652a0a36a706 (diff) | |
download | cpython-8bc5b681599b66887f69ca54631d6e1ce4894252.zip cpython-8bc5b681599b66887f69ca54631d6e1ce4894252.tar.gz cpython-8bc5b681599b66887f69ca54631d6e1ce4894252.tar.bz2 |
these builtins have to be initialized
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/object.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Objects/object.c b/Objects/object.c index 9544b9a..58b70f0 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -1595,6 +1595,15 @@ _Py_ReadyTypes(void) if (PyType_Ready(&PyMemberDescr_Type) < 0) Py_FatalError("Can't initialize member descriptor type"); + + if (PyType_Ready(&PyFilter_Type) < 0) + Py_FatalError("Can't initialize filter type"); + + if (PyType_Ready(&PyMap_Type) < 0) + Py_FatalError("Can't initialize map type"); + + if (PyType_Ready(&PyZip_Type) < 0) + Py_FatalError("Can't initialize zip type"); } |