bpo-42171: Add PEP573-related items to the limited API (GH-23009)

This commit is contained in:
Petr Viktorin 2020-11-10 14:47:31 +01:00 committed by GitHub
parent 9303b9ecc3
commit 0b9c4c6fcf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 3 deletions

View file

@ -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