Issue 24017: Drop getawaitablefunc and friends in favor of unaryfunc.

This commit is contained in:
Yury Selivanov 2015-05-28 11:21:31 -04:00
parent 6076a385e3
commit 6ef059097c
5 changed files with 13 additions and 16 deletions

View file

@ -1927,7 +1927,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
}
TARGET(GET_AITER) {
getaiterfunc getter = NULL;
unaryfunc getter = NULL;
PyObject *iter = NULL;
PyObject *awaitable = NULL;
PyObject *obj = TOP();
@ -1974,7 +1974,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
}
TARGET(GET_ANEXT) {
aiternextfunc getter = NULL;
unaryfunc getter = NULL;
PyObject *next_iter = NULL;
PyObject *awaitable = NULL;
PyObject *aiter = TOP();