Must create heaptypes with unicode names.

This commit is contained in:
Thomas Heller 2007-07-11 20:02:35 +00:00
parent ace8ba8d4b
commit 3ed0acceee
1 changed files with 1 additions and 5 deletions

View File

@ -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_",