Issue 24017: Drop getawaitablefunc and friends in favor of unaryfunc.

This commit is contained in:
Yury Selivanov 2015-05-28 11:22:41 -04:00
commit ac0bffb962
5 changed files with 13 additions and 16 deletions

View file

@ -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)) {