mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
these builtins have to be initialized
This commit is contained in:
parent
c3491d310f
commit
8bc5b68159
5 changed files with 25 additions and 6 deletions
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue