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 c84638c commit 4e59e88Copy full SHA for 4e59e88
Doc/extending/embedding.rst
@@ -252,8 +252,14 @@ Python extension. For example::
252
};
253
254
static PyModuleDef_Slot emb_module_slots[] = {
255
+ #ifdef Py_mod_multiple_interpreters
256
+ // signal that this module can be imported in isolated subinterpreters
257
{Py_mod_multiple_interpreters, Py_MOD_PER_INTERPRETER_GIL_SUPPORTED},
258
+ #endif
259
+ #ifdef Py_mod_gil
260
+ // signal that this module supports running without an active GIL
261
{Py_mod_gil, Py_MOD_GIL_NOT_USED},
262
263
{0, NULL}
264
265
0 commit comments