diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2023-07-26 19:16:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-26 19:16:06 (GMT) |
commit | af61cb9c7837ff3c11da79e3ee1cab3fdd0ba4da (patch) | |
tree | dc29e16249e0cffab635260f81deccf6e316a257 /Doc/whatsnew | |
parent | 737d1da0746053d515158eac5b115e8bd813f6d3 (diff) | |
download | cpython-af61cb9c7837ff3c11da79e3ee1cab3fdd0ba4da.zip cpython-af61cb9c7837ff3c11da79e3ee1cab3fdd0ba4da.tar.gz cpython-af61cb9c7837ff3c11da79e3ee1cab3fdd0ba4da.tar.bz2 |
gh-107091: Fix some uses of :c:member: role (GH-107129)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.5.rst | 2 | ||||
-rw-r--r-- | Doc/whatsnew/3.7.rst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst index 1e30569..86bfdc4 100644 --- a/Doc/whatsnew/3.5.rst +++ b/Doc/whatsnew/3.5.rst @@ -2533,7 +2533,7 @@ Changes in the C API * As part of the :pep:`492` implementation, the ``tp_reserved`` slot of :c:type:`PyTypeObject` was replaced with a - :c:member:`tp_as_async` slot. Refer to :ref:`coro-objects` for + :c:member:`~PyTypeObject.tp_as_async` slot. Refer to :ref:`coro-objects` for new types, structures and functions. diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst index 09c91fc..8a4496b 100644 --- a/Doc/whatsnew/3.7.rst +++ b/Doc/whatsnew/3.7.rst @@ -1674,7 +1674,7 @@ The new :c:func:`import__find__load__start` and module imports. (Contributed by Christian Heimes in :issue:`31574`.) -The fields :c:member:`name` and :c:member:`doc` of structures +The fields :c:member:`!name` and :c:member:`!doc` of structures :c:type:`PyMemberDef`, :c:type:`PyGetSetDef`, :c:type:`PyStructSequence_Field`, :c:type:`PyStructSequence_Desc`, and :c:type:`wrapperbase` are now of type ``const char *`` rather of |