summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2007-07-11 19:57:40 +0000
committerThomas Heller <theller@ctypes.org>2007-07-11 19:57:40 +0000
commit5e40552d30f900751a1c8a9d78163edc5e488cdd (patch)
tree9e06b2e93ae7fcdce0998d3ed4cbf0fbb9763d21 /Python/errors.c
parent933b6f7881877726e28de352adb166f8355122aa (diff)
downloadcpython-5e40552d30f900751a1c8a9d78163edc5e488cdd.tar.gz
Must create heaptypes with unicode names.
Diffstat (limited to 'Python/errors.c')
-rw-r--r--Python/errors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/errors.c b/Python/errors.c
index 2a84c8d30d..0f0b6eda5a 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);