Skip to content

Commit

Permalink
bpo-42085: Add documentation for Py_TPFLAGS_HAVE_AM_SEND (pythonGH-23374
Browse files Browse the repository at this point in the history
)

Updated docs to include `Py_TPFLAGS_HAVE_AM_SEND`. News section should not be necessary.

Automerge-Triggered-By: GH:asvetlov
  • Loading branch information
vladima authored and adorilson committed Mar 11, 2021
1 parent d8df8fc commit cdb46eb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Doc/c-api/typeobj.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cdb46eb

Please sign in to comment.