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 /PC | |
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 'PC')
-rw-r--r-- | PC/winsound.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/PC/winsound.c b/PC/winsound.c index 7e4ebd9..a6b2dac 100644 --- a/PC/winsound.c +++ b/PC/winsound.c @@ -35,11 +35,10 @@ winsound.PlaySound(None, 0) */ +// Need limited C API version 3.12 for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED #include "pyconfig.h" // Py_GIL_DISABLED - #ifndef Py_GIL_DISABLED -// Need limited C API version 3.12 for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED -#define Py_LIMITED_API 0x030c0000 +# define Py_LIMITED_API 0x030c0000 #endif #include <Python.h> |