summaryrefslogtreecommitdiffstats
path: root/Python/errors.c
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2007-07-11 20:01:43 (GMT)
committerThomas Heller <theller@ctypes.org>2007-07-11 20:01:43 (GMT)
commitace8ba8d4b2757d9b0e6e77be83c7100fe6b5823 (patch)
tree9f5c2b0a9c993aba14d121710f0a3dbe12b36192 /Python/errors.c
parentf630dac17804f2121cefa66a3ef4752f5af6ce7f (diff)
downloadcpython-ace8ba8d4b2757d9b0e6e77be83c7100fe6b5823.zip
cpython-ace8ba8d4b2757d9b0e6e77be83c7100fe6b5823.tar.gz
cpython-ace8ba8d4b2757d9b0e6e77be83c7100fe6b5823.tar.bz2
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 0f0b6ed..2a84c8d 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);