summaryrefslogtreecommitdiff
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-05-28 11:22:41 -0400
committerYury Selivanov <yselivanov@sprymix.com>2015-05-28 11:22:41 -0400
commitac0bffb96207182f6566e382b7d053a471c2d1fa (patch)
tree135595486ee3813d5e551c95f8bb532f78b6199b /Python/ceval.c
parentee941b0278d6ea69d01f84e2c69cb8024e8a01bd (diff)
parent6ef059097cdfc9ee4c5a5292db5c9d5a5be2f97c (diff)
downloadcpython-git-ac0bffb96207182f6566e382b7d053a471c2d1fa.tar.gz
Issue 24017: Drop getawaitablefunc and friends in favor of unaryfunc.
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c4
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();