mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Issue #8848: U / U# formats of Py_BuildValue() are just alias to s / s#
This commit is contained in:
parent
fa68a6188a
commit
7eeb5b5e50
7 changed files with 9 additions and 43 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue