diff options
author | Victor Stinner <vstinner@python.org> | 2024-03-11 22:42:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-11 22:42:18 (GMT) |
commit | 2b67fc57f6e97c8389fe970ed232c1ad484113e1 (patch) | |
tree | 913984c1a9d4bedfc34ce8de9f1847873b41a51c /Modules/_stat.c | |
parent | 06e29a224fac9edeba55422d2e60f2fbb88dddce (diff) | |
download | cpython-2b67fc57f6e97c8389fe970ed232c1ad484113e1.zip cpython-2b67fc57f6e97c8389fe970ed232c1ad484113e1.tar.gz cpython-2b67fc57f6e97c8389fe970ed232c1ad484113e1.tar.bz2 |
gh-108494: Fix Argument Clinic LIMITED_CAPI_REGEX (#116610)
Accept spaces in "# define Py_LIMITED_API 0x030d0000".
Diffstat (limited to 'Modules/_stat.c')
-rw-r--r-- | Modules/_stat.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Modules/_stat.c b/Modules/_stat.c index b43e794..8059ec2 100644 --- a/Modules/_stat.c +++ b/Modules/_stat.c @@ -11,11 +11,10 @@ * */ +// Need limited C API version 3.13 for PyModule_Add() on Windows #include "pyconfig.h" // Py_GIL_DISABLED - #ifndef Py_GIL_DISABLED -// Need limited C API version 3.13 for PyModule_Add() on Windows -#define Py_LIMITED_API 0x030d0000 +# define Py_LIMITED_API 0x030d0000 #endif #include "Python.h" |