[Python-checkins] bpo-42085: Add documentation for Py_TPFLAGS_HAVE_AM_SEND (GH-23374)
miss-islington
webhook-mailer at python.org
Wed Nov 18 13:58:47 EST 2020
https://github.com/python/cpython/commit/7c9487ded487f304c2906698c52f0815b92cbeb6
commit: 7c9487ded487f304c2906698c52f0815b92cbeb6
branch: master
author: Vladimir Matveev <vladima at fb.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2020-11-18T10:58:38-08:00
summary:
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
files:
M Doc/c-api/typeobj.rst
diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst
index 6a67bfe901089..9efe3aac2e1c9 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
More information about the Python-checkins
mailing list