Skip to content

Commit c8260d8

Browse files
Update Modules/_asynciomodule.c
Co-authored-by: Kumar Aditya <[email protected]>
1 parent 2ade724 commit c8260d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_asynciomodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1713,7 +1713,7 @@ FutureIter_traverse(futureiterobject *it, visitproc visit, void *arg)
17131713

17141714
static PyMethodDef FutureIter_methods[] = {
17151715
{"send", (PyCFunction)FutureIter_send, METH_O, NULL},
1716-
{"throw", (PyCFunction)FutureIter_throw, METH_FASTCALL, NULL},
1716+
{"throw", (PyCFunction)(void(*)(void))FutureIter_throw, METH_FASTCALL, NULL},
17171717
{"close", (PyCFunction)FutureIter_close, METH_NOARGS, NULL},
17181718
{NULL, NULL} /* Sentinel */
17191719
};

0 commit comments

Comments
 (0)