diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2020-06-19 10:07:28 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2020-06-19 10:07:28 +0200 |
commit | 51e5f4335235dadd9d126842e14e7988966ee357 (patch) | |
tree | 501b7f3bddc2b2a81f714786205d6c861a5640d7 | |
parent | d6fa2b351666f1070200fc0e887ce383ad2fe346 (diff) | |
download | cython-51e5f4335235dadd9d126842e14e7988966ee357.tar.gz |
Fix prefix of internal function name.
-rw-r--r-- | Cython/Utility/Coroutine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Cython/Utility/Coroutine.c b/Cython/Utility/Coroutine.c index a69a40299..9fb6fa238 100644 --- a/Cython/Utility/Coroutine.c +++ b/Cython/Utility/Coroutine.c @@ -6,7 +6,7 @@ static CYTHON_INLINE PyObject* __Pyx_Generator_Yield_From(__pyx_CoroutineObject //@requires: Generator #if CYTHON_USE_TYPE_SLOTS -static void __PyxPyIter_CheckErrorAndDecref(PyObject *source) { +static void __Pyx_PyIter_CheckErrorAndDecref(PyObject *source) { PyErr_Format(PyExc_TypeError, "iter() returned non-iterator of type '%.100s'", Py_TYPE(source)->tp_name); @@ -31,7 +31,7 @@ static CYTHON_INLINE PyObject* __Pyx_Generator_Yield_From(__pyx_CoroutineObject if (unlikely(!source_gen)) return NULL; if (unlikely(!PyIter_Check(source_gen))) { - __PyxPyIter_CheckErrorAndDecref(source_gen); + __Pyx_PyIter_CheckErrorAndDecref(source_gen); return NULL; } } else |