commit | 6ef059097cdfc9ee4c5a5292db5c9d5a5be2f97c | [log] [tgz] |
---|---|---|
author | Yury Selivanov <yselivanov@sprymix.com> | Thu May 28 11:21:31 2015 -0400 |
committer | Yury Selivanov <yselivanov@sprymix.com> | Thu May 28 11:21:31 2015 -0400 |
tree | 8ba6d779c64ceadd00855f8d7cb51619dc4681fe | |
parent | 6076a385e3f37ba15489989549c96f231e60056b [diff] [blame] |
Issue 24017: Drop getawaitablefunc and friends in favor of unaryfunc.
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 @@ PyObject * _PyGen_GetAwaitableIter(PyObject *o) { - getawaitablefunc getter = NULL; + unaryfunc getter = NULL; PyTypeObject *ot; if (PyGen_CheckCoroutineExact(o)) {