summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-05-28 15:22:41 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-05-28 15:22:41 (GMT)
commitac0bffb96207182f6566e382b7d053a471c2d1fa (patch)
tree135595486ee3813d5e551c95f8bb532f78b6199b /Objects
parentee941b0278d6ea69d01f84e2c69cb8024e8a01bd (diff)
parent6ef059097cdfc9ee4c5a5292db5c9d5a5be2f97c (diff)
downloadcpython-ac0bffb96207182f6566e382b7d053a471c2d1fa.zip
cpython-ac0bffb96207182f6566e382b7d053a471c2d1fa.tar.gz
cpython-ac0bffb96207182f6566e382b7d053a471c2d1fa.tar.bz2
Issue 24017: Drop getawaitablefunc and friends in favor of unaryfunc.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/genobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/genobject.c b/Objects/genobject.c
index 8e5624d..5d3b66c 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)) {