mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Issue 24017: Drop getawaitablefunc and friends in favor of unaryfunc.
This commit is contained in:
parent
6076a385e3
commit
6ef059097c
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