mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue 24017: Drop getawaitablefunc and friends in favor of unaryfunc.
This commit is contained in:
commit
ac0bffb962
5 changed files with 13 additions and 16 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue