Thomas Heller fixes a typo in an error message.

This commit is contained in:
Guido van Rossum 2000-03-31 13:52:29 +00:00
parent 0380c2638c
commit 7a5b796322

View file

@ -2774,7 +2774,7 @@ build_class(methods, bases, name)
} }
if (!PyString_Check(name)) { if (!PyString_Check(name)) {
PyErr_SetString(PyExc_SystemError, PyErr_SetString(PyExc_SystemError,
"build_class witn non-string name"); "build_class with non-string name");
return NULL; return NULL;
} }
n = PyTuple_Size(bases); n = PyTuple_Size(bases);