mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
Issue 24017: Drop getawaitablefunc and friends in favor of unaryfunc.
This commit is contained in:
parent
6076a385e3
commit
6ef059097c
5 changed files with 13 additions and 16 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue