mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
Must create heaptypes with unicode names.
This commit is contained in:
parent
acb470c05f
commit
f630dac178
2 changed files with 15 additions and 8 deletions
|
@ -575,7 +575,7 @@ PyErr_NewException(char *name, PyObject *base, PyObject *dict)
|
|||
goto failure;
|
||||
}
|
||||
/* Create a real new-style class. */
|
||||
result = PyObject_CallFunction((PyObject *)&PyType_Type, "sOO",
|
||||
result = PyObject_CallFunction((PyObject *)&PyType_Type, "UOO",
|
||||
dot+1, bases, dict);
|
||||
failure:
|
||||
Py_XDECREF(bases);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue