Skip to content

Commit 42b87c5

Browse files
committed
Revert "PyPy"
This reverts commit 316fc01.
1 parent 7b13796 commit 42b87c5

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎pythoncapi_compat.h‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -687,8 +687,7 @@ _Py_COMP_DIAG_POP
687687

688688
// bpo-36974 added PyVectorcall_NARGS() to Python 3.8b1
689689
#if (PY_VERSION_HEX < _Py_PACK_VERSION(3, 8) \
690-
|| (defined(Py_LIMITED_API) && PY_VERSION_HEX < _Py_PACK_VERSION(3, 12) \
691-
&& !defined(PYPY_VERSION)))
690+
|| (defined(Py_LIMITED_API) && PY_VERSION_HEX < _Py_PACK_VERSION(3, 12)))
692691
static inline Py_ssize_t PyVectorcall_NARGS(size_t n)
693692
{
694693
return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
@@ -698,8 +697,7 @@ static inline Py_ssize_t PyVectorcall_NARGS(size_t n)
698697

699698
// gh-105922 added PyObject_Vectorcall() to Python 3.9
700699
#if (PY_VERSION_HEX < _Py_PACK_VERSION(3, 9) \
701-
|| (defined(Py_LIMITED_API) && Py_LIMITED_API+0 < _Py_PACK_VERSION(3, 12) \
702-
&& !defined(PYPY_VERSION)))
700+
|| (defined(Py_LIMITED_API) && Py_LIMITED_API+0 < _Py_PACK_VERSION(3, 12)))
703701
static inline PyObject*
704702
PyObject_Vectorcall(PyObject *callable, PyObject *const *args,
705703
size_t nargsf, PyObject *kwnames)

0 commit comments

Comments
 (0)