mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Must create heaptypes with unicode names.
This commit is contained in:
parent
ace8ba8d4b
commit
3ed0acceee
1 changed files with 1 additions and 5 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue