diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2015-05-28 15:21:31 (GMT) |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2015-05-28 15:21:31 (GMT) |
commit | 6ef059097cdfc9ee4c5a5292db5c9d5a5be2f97c (patch) | |
tree | 8ba6d779c64ceadd00855f8d7cb51619dc4681fe /Doc/c-api | |
parent | 6076a385e3f37ba15489989549c96f231e60056b (diff) | |
download | cpython-6ef059097cdfc9ee4c5a5292db5c9d5a5be2f97c.zip cpython-6ef059097cdfc9ee4c5a5292db5c9d5a5be2f97c.tar.gz cpython-6ef059097cdfc9ee4c5a5292db5c9d5a5be2f97c.tar.bz2 |
Issue 24017: Drop getawaitablefunc and friends in favor of unaryfunc.
Diffstat (limited to 'Doc/c-api')
-rw-r--r-- | Doc/c-api/typeobj.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst index 6213d12..37dc635 100644 --- a/Doc/c-api/typeobj.rst +++ b/Doc/c-api/typeobj.rst @@ -1357,12 +1357,12 @@ Async Object Structures Here is the structure definition:: typedef struct { - getawaitablefunc am_await; - getaiterfunc am_aiter; - aiternextfunc am_anext; + unaryfunc am_await; + unaryfunc am_aiter; + unaryfunc am_anext; } PyAsyncMethods; -.. c:member:: getawaitablefunc PyAsyncMethods.am_await +.. c:member:: unaryfunc PyAsyncMethods.am_await The signature of this function is:: @@ -1373,7 +1373,7 @@ Async Object Structures This slot may be set to *NULL* if an object is not an :term:`awaitable`. -.. c:member:: getaiterfunc PyAsyncMethods.am_aiter +.. c:member:: unaryfunc PyAsyncMethods.am_aiter The signature of this function is:: @@ -1384,7 +1384,7 @@ Async Object Structures This slot may be set to *NULL* if an object does not implement asynchronous iteration protocol. -.. c:member:: aiternextfunc PyAsyncMethods.am_anext +.. c:member:: unaryfunc PyAsyncMethods.am_anext The signature of this function is:: |