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 3e8fee5 commit 637c3e5Copy full SHA for 637c3e5
PC/_wmimodule.cpp
@@ -362,12 +362,18 @@ static PyMethodDef wmi_functions[] = {
362
{ NULL, NULL, 0, NULL }
363
};
364
365
+static PyModuleDef_Slot wmi_slots[] = {
366
+ {Py_mod_gil, Py_MOD_GIL_NOT_USED},
367
+ {0, NULL},
368
+};
369
+
370
static PyModuleDef wmi_def = {
371
PyModuleDef_HEAD_INIT,
372
"_wmi",
- NULL, // doc
- 0, // m_size
- wmi_functions
373
+ NULL, // doc
374
+ 0, // m_size
375
+ wmi_functions, // m_methods
376
+ wmi_slots, // m_slots
377
378
379
extern "C" {
0 commit comments