From: Stefan Behnel Date: Thu, 20 Aug 2009 19:56:44 +0000 (+0200) Subject: fix error message X-Git-Tag: 0.12.alpha0~252 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=19fee9ac9fe0b6e064dd467abd0964f1d086bf04;p=cython.git fix error message --- diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index 4f2f2981..bd35c026 100644 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -5799,7 +5799,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"); } ''')