summaryrefslogtreecommitdiff
path: root/Objects/genobject.c
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-05-28 11:21:31 -0400
committerYury Selivanov <yselivanov@sprymix.com>2015-05-28 11:21:31 -0400
commiteef24c3a5da25a828bc79c777e85ae604167a977 (patch)
tree94295044c313a6af8a0b22ba8e6df03c21ec53f6 /Objects/genobject.c
parentce942d2a3e72c0fa8634d508a107d5b4886a88a0 (diff)
downloadcpython-eef24c3a5da25a828bc79c777e85ae604167a977.tar.gz
Issue 24017: Drop getawaitablefunc and friends in favor of unaryfunc.
Diffstat (limited to 'Objects/genobject.c')
-rw-r--r--Objects/genobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/genobject.c b/Objects/genobject.c
index 8e5624d460..5d3b66c6ec 100644
--- a/Objects/genobject.c
+++ b/Objects/genobject.c
@@ -708,7 +708,7 @@ PyGen_NeedsFinalizing(PyGenObject *gen)
PyObject *
_PyGen_GetAwaitableIter(PyObject *o)
{
- getawaitablefunc getter = NULL;
+ unaryfunc getter = NULL;
PyTypeObject *ot;
if (PyGen_CheckCoroutineExact(o)) {