summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2007-07-11 20:01:43 +0000
committerThomas Heller <theller@ctypes.org>2007-07-11 20:01:43 +0000
commita92f3fd0c79f4e2e36956b038ac659a0e80032bb (patch)
treef12a41e6d713c8670fdd1c81eb7cb2dcb77b45fd /Python/errors.c
parent5e40552d30f900751a1c8a9d78163edc5e488cdd (diff)
downloadcpython-a92f3fd0c79f4e2e36956b038ac659a0e80032bb.tar.gz
Revert a wrong commit.
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 0f0b6eda5a..2a84c8d30d 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, "UOO",
+ result = PyObject_CallFunction((PyObject *)&PyType_Type, "sOO",
dot+1, bases, dict);
failure:
Py_XDECREF(bases);