mirror of
https://github.com/python/cpython
synced 2026-09-28 02:33:18 +03:00
gh-108494: Fix Argument Clinic LIMITED_CAPI_REGEX (#116610)
Accept spaces in "# define Py_LIMITED_API 0x030d0000".
This commit is contained in:
parent
06e29a224f
commit
2b67fc57f6
13 changed files with 35 additions and 45 deletions
|
|
@ -5,9 +5,8 @@
|
|||
*/
|
||||
|
||||
#include "pyconfig.h" // Py_GIL_DISABLED
|
||||
|
||||
#ifndef Py_GIL_DISABLED
|
||||
#define Py_LIMITED_API 0x03020000
|
||||
# define Py_LIMITED_API 0x03020000
|
||||
#endif
|
||||
|
||||
#include <Python.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue