diff options
author | Petr Viktorin <encukou@gmail.com> | 2020-11-10 14:47:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-10 05:47:31 -0800 |
commit | 0b9c4c6fcf2b0673fa45ddfa092934a9d5479b8c (patch) | |
tree | 73ffdc1affed0b0404a1d7310de2a7920d8f92f4 /Include/methodobject.h | |
parent | Fix typo in test_array.py (GH-23189) (diff) | |
download | cpython-0b9c4c6fcf2b0673fa45ddfa092934a9d5479b8c.tar.gz cpython-0b9c4c6fcf2b0673fa45ddfa092934a9d5479b8c.tar.bz2 cpython-0b9c4c6fcf2b0673fa45ddfa092934a9d5479b8c.zip |
bpo-42171: Add PEP573-related items to the limited API (GH-23009)
Diffstat (limited to 'Include/methodobject.h')
-rw-r--r-- | Include/methodobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |