Skip to content

Commit cc11131

Browse files
committed
Address Nathan's review
1 parent a6b113f commit cc11131

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Modules/_testlimitedcapi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
#ifdef Py_GIL_DISABLED
1111
// FIXME: use the Py_TARGET_ABI3T
1212
#else
13-
// Need limited C API version 3.13 for Py_MOD_GIL_NOT_USED
14-
# define Py_LIMITED_API 0x030d0000
13+
// Use the oldest limited C API version
14+
# define Py_LIMITED_API 0x03020000
1515
#endif
1616

1717
#include "_testlimitedcapi/parts.h"

Modules/_testlimitedcapi/version.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#ifdef Py_GIL_DISABLED
55
# define Py_TARGET_ABI3T 0x030f0000
66
#else
7-
// API added in 3.14
7+
// Need limited C API version 3.14 for Py_PACK_VERSION()
88
# define Py_LIMITED_API 0x030e0000
99
#endif
1010

0 commit comments

Comments
 (0)