| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -66,8 +66,9 @@ | |||
| 66 | 66 | # | |
| 67 | 67 | ||
| 68 | 68 | ||
| 69 | - # match '#define Py_LIMITED_API' | ||
| 70 | - LIMITED_CAPI_REGEX = re.compile(r'#define +Py_LIMITED_API') | ||
| 69 | + # Match '#define Py_LIMITED_API'. | ||
| 70 | + # Match '# define Py_LIMITED_API 0x030d0000' (without the version). | ||
| 71 | + LIMITED_CAPI_REGEX = re.compile(r'# *define +Py_LIMITED_API') | ||
| 71 | 72 | ||
| 72 | 73 | ||
| 73 | 74 | class Sentinels(enum.Enum): | |
| Back | FazBrowse Home | New Git URL |
0 commit comments