mirror of
https://github.com/python/cpython.git
synced 2025-08-30 05:35:08 +00:00
merge 3.3 (#16369)
This commit is contained in:
commit
7ff2094bc7
3 changed files with 33 additions and 0 deletions
|
@ -14222,6 +14222,12 @@ int _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");
|
||||
|
||||
#ifdef HAVE_MBCS
|
||||
winver.dwOSVersionInfoSize = sizeof(winver);
|
||||
if (!GetVersionEx((OSVERSIONINFO*)&winver)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue