From 19fee9ac9fe0b6e064dd467abd0964f1d086bf04 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 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"); } ''') -- 2.26.2