mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +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
|
@ -3987,7 +3987,7 @@ awaitObject_await(awaitObject *ao)
|
|||
}
|
||||
|
||||
static PyAsyncMethods awaitType_as_async = {
|
||||
(getawaitablefunc)awaitObject_await, /* am_await */
|
||||
(unaryfunc)awaitObject_await, /* am_await */
|
||||
0, /* am_aiter */
|
||||
0 /* am_anext */
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue