diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2014-08-05 19:01:10 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2014-08-05 19:01:10 (GMT) |
commit | 9b33872812582fd4891d178fb7ff95e631697660 (patch) | |
tree | 7639cfe3bf3ae0ae270bf6a25689347b0a2aed47 | |
parent | 12d9ddf532ff5cb1115dababd4cd1b7275297582 (diff) | |
download | cpython-9b33872812582fd4891d178fb7ff95e631697660.zip cpython-9b33872812582fd4891d178fb7ff95e631697660.tar.gz cpython-9b33872812582fd4891d178fb7ff95e631697660.tar.bz2 |
Issue #22146: Fix typo in __build_class__ error message
-rw-r--r-- | Python/bltinmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index a81af65..d905ba2 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -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); |