summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/typeobj.rst5
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst
index ee33a67..6213d12 100644
--- a/Doc/c-api/typeobj.rst
+++ b/Doc/c-api/typeobj.rst
@@ -227,9 +227,7 @@ type objects) *must* have the :attr:`ob_size` field.
protocols at the C-level. See :ref:`async-structs` for details.
.. versionadded:: 3.5
-
- .. note::
- Formerly known as tp_compare and tp_reserved.
+ Formerly known as ``tp_compare`` and ``tp_reserved``.
.. c:member:: reprfunc PyTypeObject.tp_repr
@@ -1349,6 +1347,7 @@ Async Object Structures
.. sectionauthor:: Yury Selivanov <yselivanov@sprymix.com>
+.. versionadded:: 3.5
.. c:type:: PyAsyncMethods