diff options
author | Petr Viktorin <encukou@gmail.com> | 2020-11-10 13:47:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-10 13:47:31 (GMT) |
commit | 0b9c4c6fcf2b0673fa45ddfa092934a9d5479b8c (patch) | |
tree | 73ffdc1affed0b0404a1d7310de2a7920d8f92f4 /Include/methodobject.h | |
parent | 9303b9ecc39e4e79e34d6ce7258036a9d0876046 (diff) | |
download | cpython-0b9c4c6fcf2b0673fa45ddfa092934a9d5479b8c.zip cpython-0b9c4c6fcf2b0673fa45ddfa092934a9d5479b8c.tar.gz cpython-0b9c4c6fcf2b0673fa45ddfa092934a9d5479b8c.tar.bz2 |
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 12e049b..5d06d76 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 |