From 0b9c4c6fcf2b0673fa45ddfa092934a9d5479b8c Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Tue, 10 Nov 2020 14:47:31 +0100 Subject: bpo-42171: Add PEP573-related items to the limited API (GH-23009) --- Include/methodobject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Include/methodobject.h') diff --git a/Include/methodobject.h b/Include/methodobject.h index 12e049b404..5d06d7691b 100644 --- a/Include/methodobject.h +++ b/Include/methodobject.h @@ -73,7 +73,7 @@ PyAPI_FUNC(PyObject *) PyCMethod_New(PyMethodDef *, PyObject *, #define METH_COEXIST 0x0040 -#ifndef Py_LIMITED_API +#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03100000 #define METH_FASTCALL 0x0080 #endif -- cgit v1.2.1