From 9b33872812582fd4891d178fb7ff95e631697660 Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Tue, 5 Aug 2014 14:01:10 -0500 Subject: [PATCH] Issue #22146: Fix typo in __build_class__ error message --- Python/bltinmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index a81af656582..d905ba2d949 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);