Skip to content

Commit 9b33872

Browse files
committed
Issue python#22146: Fix typo in __build_class__ error message
1 parent 12d9ddf commit 9b33872

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/bltinmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ builtin___build_class__(PyObject *self, PyObject *args, PyObject *kwds)
6969
func = PyTuple_GET_ITEM(args, 0); /* Better be callable */
7070
if (!PyFunction_Check(func)) {
7171
PyErr_SetString(PyExc_TypeError,
72-
"__build__class__: func must be a function");
72+
"__build_class__: func must be a function");
7373
return NULL;
7474
}
7575
name = PyTuple_GET_ITEM(args, 1);

0 commit comments

Comments
 (0)