summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-06-07 19:57:46 +0000
committerVictor Stinner <victor.stinner@haypocalc.com>2010-06-07 19:57:46 +0000
commit046dd2b5f082e1f3975d7cea07826db45c72c259 (patch)
treef18019c72efc3d13f0609ee2f52a5d06162faf52 /Python/errors.c
parent493fd252e4f7fd49dc2dc2923dbcc1dae9a23c9c (diff)
downloadcpython-046dd2b5f082e1f3975d7cea07826db45c72c259.tar.gz
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 37669739c1..4ae661a16f 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);