diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-10-31 03:41:54 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-10-31 03:41:54 (GMT) |
commit | 42124a727d0516e8b98b4b2d3dbae4044d34a836 (patch) | |
tree | 0e230ac6068d9a6f1effc9c7fbe0467a8ccd5565 /Objects/object.c | |
parent | 7ff2094bc7e2c6ecb735116b2187187bb4f58daa (diff) | |
download | cpython-42124a727d0516e8b98b4b2d3dbae4044d34a836.zip cpython-42124a727d0516e8b98b4b2d3dbae4044d34a836.tar.gz cpython-42124a727d0516e8b98b4b2d3dbae4044d34a836.tar.bz2 |
initialize map/filter/zip in _PyBuiltin_Init rather than the catch-all function
Diffstat (limited to 'Objects/object.c')
-rw-r--r-- | Objects/object.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Objects/object.c b/Objects/object.c index b4bc96d..fd1fd25 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -1708,15 +1708,6 @@ _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"); - if (PyType_Ready(&_PyNamespace_Type) < 0) Py_FatalError("Can't initialize namespace type"); |