mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Revert a wrong commit.
This commit is contained in:
parent
f630dac178
commit
ace8ba8d4b
2 changed files with 8 additions and 15 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue