mirror of
https://github.com/python/cpython.git
synced 2025-07-16 07:45:20 +00:00
initialize more global type objects (closes #16369)
This commit is contained in:
parent
e9aeca7c24
commit
c43112823b
3 changed files with 33 additions and 0 deletions
|
@ -10079,6 +10079,12 @@ void _PyUnicode_Init(void)
|
|||
);
|
||||
|
||||
PyType_Ready(&EncodingMapType);
|
||||
|
||||
if (PyType_Ready(&PyFieldNameIter_Type) < 0)
|
||||
Py_FatalError("Can't initialize field name iterator type");
|
||||
|
||||
if (PyType_Ready(&PyFormatterIter_Type) < 0)
|
||||
Py_FatalError("Can't initialize formatter iter type");
|
||||
}
|
||||
|
||||
/* Finalize the Unicode implementation */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue