]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-42085: Add documentation for Py_TPFLAGS_HAVE_AM_SEND (GH-23374)
authorVladimir Matveev <vladima@fb.com>
Wed, 18 Nov 2020 18:58:38 +0000 (10:58 -0800)
committerGitHub <noreply@github.com>
Wed, 18 Nov 2020 18:58:38 +0000 (10:58 -0800)
Updated docs to include `Py_TPFLAGS_HAVE_AM_SEND`. News section should not be necessary.

Automerge-Triggered-By: GH:asvetlov
Doc/c-api/typeobj.rst

index 6a67bfe90108901244b9427d65afeb8a10fbd493..9efe3aac2e1c9f05352bb2de99429a4497fedbd1 100644 (file)
@@ -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