summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-05-28 15:21:31 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-05-28 15:21:31 (GMT)
commit6ef059097cdfc9ee4c5a5292db5c9d5a5be2f97c (patch)
tree8ba6d779c64ceadd00855f8d7cb51619dc4681fe /Python
parent6076a385e3f37ba15489989549c96f231e60056b (diff)
downloadcpython-6ef059097cdfc9ee4c5a5292db5c9d5a5be2f97c.zip
cpython-6ef059097cdfc9ee4c5a5292db5c9d5a5be2f97c.tar.gz
cpython-6ef059097cdfc9ee4c5a5292db5c9d5a5be2f97c.tar.bz2
Issue 24017: Drop getawaitablefunc and friends in favor of unaryfunc.
Diffstat (limited to 'Python')
-rw-r--r--Python/ceval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index afb0f89..7d39d9b 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();