mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Issue #13575: there is only one class type.
This commit is contained in:
parent
9d57481f04
commit
aa6c1d240f
8 changed files with 25 additions and 81 deletions
|
@ -665,7 +665,7 @@ PyErr_NewException(const char *name, PyObject *base, PyObject *dict)
|
|||
if (bases == NULL)
|
||||
goto failure;
|
||||
}
|
||||
/* Create a real new-style class. */
|
||||
/* Create a real class. */
|
||||
result = PyObject_CallFunction((PyObject *)&PyType_Type, "sOO",
|
||||
dot+1, bases, dict);
|
||||
failure:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue