From: Robert Bradshaw Date: Wed, 9 Dec 2009 07:27:21 +0000 (-0800) Subject: Bad type error message tweak. X-Git-Tag: 0.12.1~51 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a30df984241c2d9b4acb29661d0dc60be7e85596;p=cython.git Bad type error message tweak. --- diff --git a/Cython/Compiler/ModuleNode.py b/Cython/Compiler/ModuleNode.py index 7469a181..8a6f9585 100644 --- a/Cython/Compiler/ModuleNode.py +++ b/Cython/Compiler/ModuleNode.py @@ -2199,7 +2199,7 @@ static PyTypeObject *__Pyx_ImportType(const char *module_name, const char *class } if (!size_ok) { PyErr_Format(PyExc_ValueError, - "%s.%s is the wrong size, try recompiling", + "%s.%s has the wrong size, try recompiling", module_name, class_name); goto bad; }