summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVladimir Matveev <vladima@fb.com>2020-11-18 18:58:38 (GMT)
committerGitHub <noreply@github.com>2020-11-18 18:58:38 (GMT)
commit7c9487ded487f304c2906698c52f0815b92cbeb6 (patch)
tree30ad20971d5e0237aeca5d2a643f91621f5a4ce0 /Doc
parent0e2ac21dd4960574e89561243763eabba685296a (diff)
downloadcpython-7c9487ded487f304c2906698c52f0815b92cbeb6.zip
cpython-7c9487ded487f304c2906698c52f0815b92cbeb6.tar.gz
cpython-7c9487ded487f304c2906698c52f0815b92cbeb6.tar.bz2
bpo-42085: Add documentation for Py_TPFLAGS_HAVE_AM_SEND (GH-23374)
Updated docs to include `Py_TPFLAGS_HAVE_AM_SEND`. News section should not be necessary. Automerge-Triggered-By: GH:asvetlov
Diffstat (limited to 'Doc')
-rw-r--r--Doc/c-api/typeobj.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst
index 6a67bfe..9efe3aa 100644
--- a/Doc/c-api/typeobj.rst
+++ b/Doc/c-api/typeobj.rst
@@ -1170,6 +1170,14 @@ and :c:type:`PyType_Type` effectively act as defaults.)
.. versionadded:: 3.9
+ .. data:: Py_TPFLAGS_HAVE_AM_SEND
+
+ This bit is set when the :c:member:`~PyAsyncMethods.am_send` entry is present in the
+ :c:member:`~PyTypeObject.tp_as_async` slot of type structure.
+
+ .. versionadded:: 3.10
+
+
.. c:member:: const char* PyTypeObject.tp_doc
An optional pointer to a NUL-terminated C string giving the docstring for this