mirror of https://github.com/python/cpython
Must create heaptypes with unicode names.
This commit is contained in:
parent
ace8ba8d4b
commit
3ed0acceee
|
@ -3985,11 +3985,7 @@ CreateArrayType(PyObject *itemtype, Py_ssize_t length)
|
|||
#endif
|
||||
|
||||
result = PyObject_CallFunction((PyObject *)&ArrayType_Type,
|
||||
#if (PY_VERSION_HEX < 0x02050000)
|
||||
"s(O){s:i,s:O}",
|
||||
#else
|
||||
"s(O){s:n,s:O}",
|
||||
#endif
|
||||
"U(O){s:n,s:O}",
|
||||
name,
|
||||
&Array_Type,
|
||||
"_length_",
|
||||
|
|
Loading…
Reference in New Issue