From: Zachary Ware Date: Tue, 5 Aug 2014 19:01:10 +0000 (-0500) Subject: Issue #22146: Fix typo in __build_class__ error message X-Git-Tag: v3.4.2rc1~147 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9b33872812582fd4891d178fb7ff95e631697660;p=python Issue #22146: Fix typo in __build_class__ error message --- diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index a81af65658..d905ba2d94 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);