Skip to content

Commit 930077f

Browse files
committed
Fix PyPy 3.8
1 parent f856360 commit 930077f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythoncapi_compat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ PYCAPI_COMPAT_STATIC_INLINE(PyObject*)
629629
PyObject_Vectorcall(PyObject *callable, PyObject *const *args,
630630
size_t nargsf, PyObject *kwnames)
631631
{
632-
#if PY_VERSION_HEX >= 0x030800B1
632+
#if PY_VERSION_HEX >= 0x030800B1 && !defined(PYPY_VERSION)
633633
// bpo-36974 added _PyObject_Vectorcall() to Python 3.8.0b1
634634
return _PyObject_Vectorcall(callable, args, nargsf, kwnames);
635635
#else

0 commit comments

Comments
 (0)