File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -390,7 +390,8 @@ PyThreadState_LeaveTracing(PyThreadState *tstate)
390
390
391
391
392
392
// bpo-37194 added PyObject_CallNoArgs() to Python 3.9.0a1
393
- #if PY_VERSION_HEX < 0x030900A1 || defined(PYPY_VERSION)
393
+ // PyObject_CallNoArgs() added to PyPy 3.9.16-v7.3.11
394
+ #if !defined(PyObject_CallNoArgs) && PY_VERSION_HEX < 0x030900A1
394
395
PYCAPI_COMPAT_STATIC_INLINE (PyObject*)
395
396
PyObject_CallNoArgs(PyObject *func)
396
397
{
@@ -401,7 +402,8 @@ PyObject_CallNoArgs(PyObject *func)
401
402
402
403
// bpo-39245 made PyObject_CallOneArg() public (previously called
403
404
// _PyObject_CallOneArg) in Python 3.9.0a4
404
- #if PY_VERSION_HEX < 0x030900A4 || defined(PYPY_VERSION)
405
+ // PyObject_CallOneArg() added to PyPy 3.9.16-v7.3.11
406
+ #if !defined(PyObject_CallOneArg) && PY_VERSION_HEX < 0x030900A4
405
407
PYCAPI_COMPAT_STATIC_INLINE (PyObject*)
406
408
PyObject_CallOneArg(PyObject *func, PyObject *arg)
407
409
{
You can’t perform that action at this time.
0 commit comments