Skip to content

Commit f0c0d30

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 07cc997 commit f0c0d30

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
@@ -2151,8 +2151,7 @@ Porting to Python 3.10
21512151
* The ``PY_SSIZE_T_CLEAN`` macro must now be defined to use
21522152
:c:func:`PyArg_ParseTuple` and :c:func:`Py_BuildValue` formats which use
21532153
``#``: ``es#``, ``et#``, ``s#``, ``u#``, ``y#``, ``z#``, ``U#`` and ``Z#``.
2154-
See :ref:`Parsing arguments and building values
2155-
<arg-parsing>` and the :pep:`353`.
2154+
See :ref:`arg-parsing` and :pep:`353`.
21562155
(Contributed by Victor Stinner in :issue:`40943`.)
21572156
21582157
* Since :c:func:`Py_REFCNT()` is changed to the inline static function,
@@ -2183,8 +2182,7 @@ Porting to Python 3.10
21832182
:c:func:`Py_GetProgramFullPath`, :c:func:`Py_GetPythonHome` and
21842183
:c:func:`Py_GetProgramName` functions now return ``NULL`` if called before
21852184
:c:func:`Py_Initialize` (before Python is initialized). Use the new
2186-
:ref:`Python Initialization Configuration API <init-config>` to get the
2187-
:ref:`Python Path Configuration. <init-path-config>`.
2185+
:ref:`init-config` API to get the :ref:`init-path-config`.
21882186
(Contributed by Victor Stinner in :issue:`42260`.)
21892187
21902188
* :c:func:`PyList_SET_ITEM`, :c:func:`PyTuple_SET_ITEM` and
@@ -2198,7 +2196,7 @@ Porting to Python 3.10
21982196
``picklebufobject.h``, ``pyarena.h``, ``pyctype.h``, ``pydebug.h``,
21992197
``pyfpe.h``, and ``pytime.h`` have been moved to the ``Include/cpython``
22002198
directory. These files must not be included directly, as they are already
2201-
included in ``Python.h``: :ref:`Include Files <api-includes>`. If they have
2199+
included in ``Python.h``; see :ref:`api-includes`. If they have
22022200
been included directly, consider including ``Python.h`` instead.
22032201
(Contributed by Nicholas Sim in :issue:`35134`.)
22042202

0 commit comments

Comments
 (0)