Skip to content

Commit 3eaa297

Browse files
committed
Revert: set limited C API version to 3.13
1 parent 1c5746b commit 3eaa297

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/_stat.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
* NOTE: POSIX only defines the values of the S_I* permission bits.
1111
*/
1212

13-
// Need limited C API version 3.5 for PyModuleDef_Slot
14-
#define Py_LIMITED_API 0x03050000
13+
// Need limited C API version 3.13 for PyModule_Add() on Windows
14+
#define Py_LIMITED_API 0x030d0000
1515

1616
#include "Python.h"
1717

0 commit comments

Comments
 (0)