Issue #28003: Fix a compiler warning

This commit is contained in:
Yury Selivanov 2016-09-09 00:05:42 -07:00
parent 2b9b70b43b
commit 87672d777a
1 changed files with 1 additions and 1 deletions

View File

@ -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},