Commit b53ae497 authored by Stefan Behnel's avatar Stefan Behnel

fix preprocessor macro usage in generator code

parent 26c22923
...@@ -513,7 +513,7 @@ static void __Pyx_Generator_del(PyObject *self) { ...@@ -513,7 +513,7 @@ static void __Pyx_Generator_del(PyObject *self) {
_Py_NewReference(self); _Py_NewReference(self);
self->ob_refcnt = refcnt; self->ob_refcnt = refcnt;
} }
#if CYTHON_COMPILING_FOR_CPYTHON #if CYTHON_COMPILING_IN_CPYTHON
assert(PyType_IS_GC(self->ob_type) && assert(PyType_IS_GC(self->ob_type) &&
_Py_AS_GC(self)->gc.gc_refs != _PyGC_REFS_UNTRACKED); _Py_AS_GC(self)->gc.gc_refs != _PyGC_REFS_UNTRACKED);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment