summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-05-28 15:22:41 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-05-28 15:22:41 (GMT)
commitac0bffb96207182f6566e382b7d053a471c2d1fa (patch)
tree135595486ee3813d5e551c95f8bb532f78b6199b /Doc
parentee941b0278d6ea69d01f84e2c69cb8024e8a01bd (diff)
parent6ef059097cdfc9ee4c5a5292db5c9d5a5be2f97c (diff)
downloadcpython-ac0bffb96207182f6566e382b7d053a471c2d1fa.zip
cpython-ac0bffb96207182f6566e382b7d053a471c2d1fa.tar.gz
cpython-ac0bffb96207182f6566e382b7d053a471c2d1fa.tar.bz2
Issue 24017: Drop getawaitablefunc and friends in favor of unaryfunc.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/c-api/typeobj.rst12
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::