Skip to content

Commit 2998def

Browse files
committed
Fix _testconsole.c for Windows build
1 parent da63df1 commit 2998def

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PC/_testconsole.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/* Testing module for multi-phase initialization of extension modules (PEP 489)
22
*/
33

4-
// Need limited C API version 3.12 for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
4+
// Need limited C API version 3.13 for Py_mod_gil
55
#include "pyconfig.h" // Py_GIL_DISABLED
66
#ifndef Py_GIL_DISABLED
7-
# define Py_LIMITED_API 0x030c0000
7+
# define Py_LIMITED_API 0x030d0000
88
#endif
99

1010
#include "Python.h"

0 commit comments

Comments
 (0)