Commit a5856e3c authored by Stefan Behnel's avatar Stefan Behnel

work around incorrect C-API signature in PyPy3

parent fee2be12
...@@ -120,7 +120,7 @@ static PyObject* __Pyx_PyExec3(PyObject* o, PyObject* globals, PyObject* locals) ...@@ -120,7 +120,7 @@ static PyObject* __Pyx_PyExec3(PyObject* o, PyObject* globals, PyObject* locals)
"code object passed to exec() may not contain free variables"); "code object passed to exec() may not contain free variables");
goto bad; goto bad;
} }
#if PY_VERSION_HEX < 0x030200B1 #if CYTHON_COMPILING_IN_PYPY || PY_VERSION_HEX < 0x030200B1
result = PyEval_EvalCode((PyCodeObject *)o, globals, locals); result = PyEval_EvalCode((PyCodeObject *)o, globals, locals);
#else #else
result = PyEval_EvalCode(o, globals, locals); result = PyEval_EvalCode(o, globals, locals);
......
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