From: Stefan Behnel Date: Thu, 20 Aug 2009 19:56:44 +0000 (+0200) Subject: fix error message X-Git-Tag: 0.12.alpha0~224^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=81fe6792bf017708c3abfd92d29a2ef1f77aee81;p=cython.git fix error message --- diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index 1922db25..af94ed03 100644 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -5750,7 +5750,7 @@ static INLINE void __Pyx_RaiseNoneNotIterableError(void); """, impl = ''' static INLINE void __Pyx_RaiseNoneNotIterableError(void) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is iterable"); + PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable"); } ''')