Skip to content

Commit ac2e7be

Browse files
Doc: Remove title text from internal links (GH-98409)
Rely on the title of the linked internal page instead of putting the title. Sphinx will render with the title correctly, and this will reduce work for translators (cherry picked from commit 52fcba6) Co-authored-by: Rafael Fontenelle <[email protected]>
1 parent eee8b99 commit ac2e7be

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Doc/whatsnew/3.10.rst

+3-5
Original file line numberDiff line numberDiff line change
@@ -2147,8 +2147,7 @@ Porting to Python 3.10
21472147
* The ``PY_SSIZE_T_CLEAN`` macro must now be defined to use
21482148
:c:func:`PyArg_ParseTuple` and :c:func:`Py_BuildValue` formats which use
21492149
``#``: ``es#``, ``et#``, ``s#``, ``u#``, ``y#``, ``z#``, ``U#`` and ``Z#``.
2150-
See :ref:`Parsing arguments and building values
2151-
<arg-parsing>` and the :pep:`353`.
2150+
See :ref:`arg-parsing` and :pep:`353`.
21522151
(Contributed by Victor Stinner in :issue:`40943`.)
21532152
21542153
* Since :c:func:`Py_REFCNT()` is changed to the inline static function,
@@ -2179,8 +2178,7 @@ Porting to Python 3.10
21792178
:c:func:`Py_GetProgramFullPath`, :c:func:`Py_GetPythonHome` and
21802179
:c:func:`Py_GetProgramName` functions now return ``NULL`` if called before
21812180
:c:func:`Py_Initialize` (before Python is initialized). Use the new
2182-
:ref:`Python Initialization Configuration API <init-config>` to get the
2183-
:ref:`Python Path Configuration. <init-path-config>`.
2181+
:ref:`init-config` API to get the :ref:`init-path-config`.
21842182
(Contributed by Victor Stinner in :issue:`42260`.)
21852183
21862184
* :c:func:`PyList_SET_ITEM`, :c:func:`PyTuple_SET_ITEM` and
@@ -2194,7 +2192,7 @@ Porting to Python 3.10
21942192
``picklebufobject.h``, ``pyarena.h``, ``pyctype.h``, ``pydebug.h``,
21952193
``pyfpe.h``, and ``pytime.h`` have been moved to the ``Include/cpython``
21962194
directory. These files must not be included directly, as they are already
2197-
included in ``Python.h``: :ref:`Include Files <api-includes>`. If they have
2195+
included in ``Python.h``; see :ref:`api-includes`. If they have
21982196
been included directly, consider including ``Python.h`` instead.
21992197
(Contributed by Nicholas Sim in :issue:`35134`.)
22002198

0 commit comments

Comments
 (0)