initialize more global type objects (closes #16369)

This commit is contained in:
Benjamin Peterson 2012-10-30 23:21:10 -04:00
parent e9aeca7c24
commit c43112823b
3 changed files with 33 additions and 0 deletions

View file

@ -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 */