Skip to content

Commit 52fcba6

Browse files
authored
Doc: Remove title text from internal links (#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
1 parent 1a6bacb commit 52fcba6

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Doc/whatsnew/3.10.rst

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2152,8 +2152,7 @@ Porting to Python 3.10
21522152
* The ``PY_SSIZE_T_CLEAN`` macro must now be defined to use
21532153
:c:func:`PyArg_ParseTuple` and :c:func:`Py_BuildValue` formats which use
21542154
``#``: ``es#``, ``et#``, ``s#``, ``u#``, ``y#``, ``z#``, ``U#`` and ``Z#``.
2155-
See :ref:`Parsing arguments and building values
2156-
<arg-parsing>` and the :pep:`353`.
2155+
See :ref:`arg-parsing` and :pep:`353`.
21572156
(Contributed by Victor Stinner in :issue:`40943`.)
21582157
21592158
* Since :c:func:`Py_REFCNT()` is changed to the inline static function,
@@ -2184,8 +2183,7 @@ Porting to Python 3.10
21842183
:c:func:`Py_GetProgramFullPath`, :c:func:`Py_GetPythonHome` and
21852184
:c:func:`Py_GetProgramName` functions now return ``NULL`` if called before
21862185
:c:func:`Py_Initialize` (before Python is initialized). Use the new
2187-
:ref:`Python Initialization Configuration API <init-config>` to get the
2188-
:ref:`Python Path Configuration. <init-path-config>`.
2186+
:ref:`init-config` API to get the :ref:`init-path-config`.
21892187
(Contributed by Victor Stinner in :issue:`42260`.)
21902188
21912189
* :c:func:`PyList_SET_ITEM`, :c:func:`PyTuple_SET_ITEM` and
@@ -2199,7 +2197,7 @@ Porting to Python 3.10
21992197
``picklebufobject.h``, ``pyarena.h``, ``pyctype.h``, ``pydebug.h``,
22002198
``pyfpe.h``, and ``pytime.h`` have been moved to the ``Include/cpython``
22012199
directory. These files must not be included directly, as they are already
2202-
included in ``Python.h``: :ref:`Include Files <api-includes>`. If they have
2200+
included in ``Python.h``; see :ref:`api-includes`. If they have
22032201
been included directly, consider including ``Python.h`` instead.
22042202
(Contributed by Nicholas Sim in :issue:`35134`.)
22052203

0 commit comments

Comments
 (0)