summaryrefslogtreecommitdiffstats
path: root/Python/errors.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-06-07 19:57:46 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-06-07 19:57:46 (GMT)
commit7eeb5b5e5017cf1354b084327b49390044946069 (patch)
tree6105fb6e6fa76d1d0e3c4d6e987b91aa623f7fc3 /Python/errors.c
parentfa68a6188a16562c1b4ba8cf879ce49decba5546 (diff)
downloadcpython-7eeb5b5e5017cf1354b084327b49390044946069.zip
cpython-7eeb5b5e5017cf1354b084327b49390044946069.tar.gz
cpython-7eeb5b5e5017cf1354b084327b49390044946069.tar.bz2
Issue #8848: U / U# formats of Py_BuildValue() are just alias to s / s#
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 3766973..4ae661a 100644
--- a/Python/errors.c
+++ b/Python/errors.c
@@ -679,7 +679,7 @@ PyErr_NewException(const 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);