Issue #22146: Fix typo in __build_class__ error message

This commit is contained in:
Zachary Ware 2014-08-05 14:01:10 -05:00
parent 12d9ddf532
commit 9b33872812
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ builtin___build_class__(PyObject *self, PyObject *args, PyObject *kwds)
func = PyTuple_GET_ITEM(args, 0); /* Better be callable */
if (!PyFunction_Check(func)) {
PyErr_SetString(PyExc_TypeError,
"__build__class__: func must be a function");
"__build_class__: func must be a function");
return NULL;
}
name = PyTuple_GET_ITEM(args, 1);