Commit b3eeef06 authored by Stefan Behnel's avatar Stefan Behnel

Work around a bug in PyPy 7.3.4.

parent 90f551c8
...@@ -786,7 +786,8 @@ static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStrWithError(PyObject *dict, ...@@ -786,7 +786,8 @@ static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStrWithError(PyObject *dict,
PyNumber_Add(a, b) : __Pyx_PyUnicode_Concat(a, b)) PyNumber_Add(a, b) : __Pyx_PyUnicode_Concat(a, b))
#endif #endif
#if CYTHON_COMPILING_IN_PYPY && !defined(PyUnicode_Contains) #if CYTHON_COMPILING_IN_PYPY && (!defined(PyUnicode_Contains) || (PY_MAJOR_VERSION == 2 && PYPY_VERSION_NUM < 0x07030500))
#undef PyUnicode_Contains
#define PyUnicode_Contains(u, s) PySequence_Contains(u, s) #define PyUnicode_Contains(u, s) PySequence_Contains(u, s)
#endif #endif
......
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