Skip to content

Commit

Permalink
Merge pull request #198 from logicsys/test
Browse files Browse the repository at this point in the history
fix for pypy3.9-v7.3.11, see #188
  • Loading branch information
ilanschnell committed May 31, 2023
2 parents 8db8a43 + e71f8c0 commit 5ac571f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bitarray/pythoncapi_compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ PyThreadState_LeaveTracing(PyThreadState *tstate)


// bpo-37194 added PyObject_CallNoArgs() to Python 3.9.0a1
#if PY_VERSION_HEX < 0x030900A1 || defined(PYPY_VERSION)
#if PY_VERSION_HEX < 0x030900A1 && !defined(PYPY_VERSION)
PYCAPI_COMPAT_STATIC_INLINE(PyObject*)
PyObject_CallNoArgs(PyObject *func)
{
Expand All @@ -401,7 +401,7 @@ PyObject_CallNoArgs(PyObject *func)

// bpo-39245 made PyObject_CallOneArg() public (previously called
// _PyObject_CallOneArg) in Python 3.9.0a4
#if PY_VERSION_HEX < 0x030900A4 || defined(PYPY_VERSION)
#if PY_VERSION_HEX < 0x030900A4 && !defined(PYPY_VERSION)
PYCAPI_COMPAT_STATIC_INLINE(PyObject*)
PyObject_CallOneArg(PyObject *func, PyObject *arg)
{
Expand Down

0 comments on commit 5ac571f

Please sign in to comment.