diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2015-05-28 11:21:31 -0400 |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2015-05-28 11:21:31 -0400 |
commit | 6ef059097cdfc9ee4c5a5292db5c9d5a5be2f97c (patch) | |
tree | 8ba6d779c64ceadd00855f8d7cb51619dc4681fe /Python/ceval.c | |
parent | 6076a385e3f37ba15489989549c96f231e60056b (diff) | |
download | cpython-git-6ef059097cdfc9ee4c5a5292db5c9d5a5be2f97c.tar.gz |
Issue 24017: Drop getawaitablefunc and friends in favor of unaryfunc.
Diffstat (limited to 'Python/ceval.c')
-rw-r--r-- | Python/ceval.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index afb0f89aa8..7d39d9bfea 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -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(); |