Issue #28003: Fix a compiler warning
This commit is contained in:
parent
2b9b70b43b
commit
87672d777a
|
@ -1422,7 +1422,7 @@ static PyMethodDef sys_methods[] = {
|
|||
set_coroutine_wrapper_doc},
|
||||
{"get_coroutine_wrapper", sys_get_coroutine_wrapper, METH_NOARGS,
|
||||
get_coroutine_wrapper_doc},
|
||||
{"set_asyncgen_hooks", sys_set_asyncgen_hooks,
|
||||
{"set_asyncgen_hooks", (PyCFunction)sys_set_asyncgen_hooks,
|
||||
METH_VARARGS | METH_KEYWORDS, set_asyncgen_hooks_doc},
|
||||
{"get_asyncgen_hooks", sys_get_asyncgen_hooks, METH_NOARGS,
|
||||
get_asyncgen_hooks_doc},
|
||||
|
|
Loading…
Reference in New Issue