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 188d141 commit bd3accdCopy full SHA for bd3accd
Modules/_threadmodule.c
@@ -1887,10 +1887,10 @@ static PyMethodDef thread_methods[] = {
1887
METH_NOARGS, _set_sentinel_doc},
1888
{"_excepthook", thread_excepthook,
1889
METH_O, excepthook_doc},
1890
- {"_wait_for_threads_fini", thread__wait_for_threads_fini,
+ {"_wait_for_threads_fini", (PyCFunction)thread__wait_for_threads_fini,
1891
METH_NOARGS, NULL},
1892
#ifdef HAVE_FORK
1893
- {"_after_fork", thread__after_fork,
+ {"_after_fork", (PyCFunction)thread__after_fork,
1894
1895
#endif
1896
{NULL, NULL} /* sentinel */
0 commit comments