Mercurial > cpython-lru_cache-weakref
diff Python/errors.c @ 42202:854cc4d5a33d
Must create heaptypes with unicode names.
| author | Thomas Heller <theller@ctypes.org> |
|---|---|
| date | Wed, 11 Jul 2007 19:57:40 +0000 |
| parents | 089f449a20cd |
| children | bbc094c328ef |
line wrap: on
line diff
--- a/Python/errors.c Wed Jul 11 19:34:54 2007 +0000 +++ b/Python/errors.c Wed Jul 11 19:57:40 2007 +0000 @@ -575,7 +575,7 @@ goto failure; } /* Create a real new-style class. */ - result = PyObject_CallFunction((PyObject *)&PyType_Type, "sOO", + result = PyObject_CallFunction((PyObject *)&PyType_Type, "UOO", dot+1, bases, dict); failure: Py_XDECREF(bases);
