Skip to content

Commit b15fa9d

Browse files
Fix Windows.
1 parent 54dc3b5 commit b15fa9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/_threadmodule.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1870,10 +1870,10 @@ static PyMethodDef thread_methods[] = {
18701870
METH_NOARGS, _set_sentinel_doc},
18711871
{"_excepthook", thread_excepthook,
18721872
METH_O, excepthook_doc},
1873-
{"_wait_for_threads_fini", thread__wait_for_threads_fini,
1873+
{"_wait_for_threads_fini", (PyCFunction)thread__wait_for_threads_fini,
18741874
METH_NOARGS, NULL},
18751875
#ifdef HAVE_FORK
1876-
{"_after_fork", thread__after_fork,
1876+
{"_after_fork", (PyCFunction)thread__after_fork,
18771877
METH_NOARGS, NULL},
18781878
#endif
18791879
{NULL, NULL} /* sentinel */

0 commit comments

Comments
 (0)