Skip to content

Commit 7c9487d

Browse files
authored
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
1 parent 0e2ac21 commit 7c9487d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Doc/c-api/typeobj.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,6 +1170,14 @@ and :c:type:`PyType_Type` effectively act as defaults.)
11701170
.. versionadded:: 3.9
11711171

11721172

1173+
.. data:: Py_TPFLAGS_HAVE_AM_SEND
1174+
1175+
This bit is set when the :c:member:`~PyAsyncMethods.am_send` entry is present in the
1176+
:c:member:`~PyTypeObject.tp_as_async` slot of type structure.
1177+
1178+
.. versionadded:: 3.10
1179+
1180+
11731181
.. c:member:: const char* PyTypeObject.tp_doc
11741182
11751183
An optional pointer to a NUL-terminated C string giving the docstring for this

0 commit comments

Comments
 (0)