summaryrefslogtreecommitdiffstats
path: root/Objects
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 /Objects
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 '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)) {