We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36b7e6c commit 8830cc1Copy full SHA for 8830cc1
Modules/_testlimitedcapi/import.c
@@ -1,3 +1,9 @@
1
+// Need limited C API version 3.7 for PyImport_GetModule()
2
+#include "pyconfig.h" // Py_GIL_DISABLED
3
+#if !defined(Py_GIL_DISABLED) && !defined(Py_LIMITED_API)
4
+# define Py_LIMITED_API 0x030d0000
5
+#endif
6
+
7
#include "parts.h"
8
#include "util.h"
9
0 commit comments