diff options
author | Thomas Heller <theller@ctypes.org> | 2007-07-11 19:57:40 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2007-07-11 19:57:40 (GMT) |
commit | f630dac17804f2121cefa66a3ef4752f5af6ce7f (patch) | |
tree | 613e1761de0b1286dd8bf89148ce6691ba2a1db1 /Python | |
parent | acb470c05ffc3fd1191f948fd5708fa91e8e2e8b (diff) | |
download | cpython-f630dac17804f2121cefa66a3ef4752f5af6ce7f.zip cpython-f630dac17804f2121cefa66a3ef4752f5af6ce7f.tar.gz cpython-f630dac17804f2121cefa66a3ef4752f5af6ce7f.tar.bz2 |
Must create heaptypes with unicode names.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/errors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/errors.c b/Python/errors.c index 2a84c8d..0f0b6ed 100644 --- a/Python/errors.c +++ b/Python/errors.c @@ -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); |