From 6ef059097cdfc9ee4c5a5292db5c9d5a5be2f97c Mon Sep 17 00:00:00 2001 From: Yury Selivanov Date: Thu, 28 May 2015 11:21:31 -0400 Subject: Issue 24017: Drop getawaitablefunc and friends in favor of unaryfunc. --- Doc/c-api/typeobj.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Doc/c-api') diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst index 6213d127c4..37dc635872 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:: -- cgit v1.2.1