Skip to content

Commit 1c5746b

Browse files
committed
Set Py_LIMITED_API to Python 3.5
1 parent d22aca8 commit 1c5746b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/_stat.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
* as int 0.
99
*
1010
* NOTE: POSIX only defines the values of the S_I* permission bits.
11-
*
1211
*/
1312

14-
#define Py_LIMITED_API 0x030d0000
13+
// Need limited C API version 3.5 for PyModuleDef_Slot
14+
#define Py_LIMITED_API 0x03050000
1515

1616
#include "Python.h"
1717

0 commit comments

Comments
 (0)