From 81fe6792bf017708c3abfd92d29a2ef1f77aee81 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Thu, 20 Aug 2009 21:56:44 +0200 Subject: [PATCH] fix error message --- Cython/Compiler/ExprNodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } ''') -- 2.26.2