summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-10-19 15:45:25 (GMT)
committerGitHub <noreply@github.com>2022-10-19 15:45:25 (GMT)
commitac2e7bec08a82f124435b93d89bd48e835e809ba (patch)
tree5a55765143a33f3608d2e9f9b3f64d7ea3f411de /Doc/whatsnew
parenteee8b99dc3e461e6a0664c8bf449887eb7a1d4c3 (diff)
downloadcpython-ac2e7bec08a82f124435b93d89bd48e835e809ba.zip
cpython-ac2e7bec08a82f124435b93d89bd48e835e809ba.tar.gz
cpython-ac2e7bec08a82f124435b93d89bd48e835e809ba.tar.bz2
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 52fcba651288ac1c0f9b1fb71379f1dad54ee1da) Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.10.rst8
1 files changed, 3 insertions, 5 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index 8434de2..ae5fe3f 100644
--- a/Doc/whatsnew/3.10.rst
+++ b/Doc/whatsnew/3.10.rst
@@ -2147,8 +2147,7 @@ Porting to Python 3.10
* The ``PY_SSIZE_T_CLEAN`` macro must now be defined to use
:c:func:`PyArg_ParseTuple` and :c:func:`Py_BuildValue` formats which use
``#``: ``es#``, ``et#``, ``s#``, ``u#``, ``y#``, ``z#``, ``U#`` and ``Z#``.
- See :ref:`Parsing arguments and building values
- <arg-parsing>` and the :pep:`353`.
+ See :ref:`arg-parsing` and :pep:`353`.
(Contributed by Victor Stinner in :issue:`40943`.)
* Since :c:func:`Py_REFCNT()` is changed to the inline static function,
@@ -2179,8 +2178,7 @@ Porting to Python 3.10
:c:func:`Py_GetProgramFullPath`, :c:func:`Py_GetPythonHome` and
:c:func:`Py_GetProgramName` functions now return ``NULL`` if called before
:c:func:`Py_Initialize` (before Python is initialized). Use the new
- :ref:`Python Initialization Configuration API <init-config>` to get the
- :ref:`Python Path Configuration. <init-path-config>`.
+ :ref:`init-config` API to get the :ref:`init-path-config`.
(Contributed by Victor Stinner in :issue:`42260`.)
* :c:func:`PyList_SET_ITEM`, :c:func:`PyTuple_SET_ITEM` and
@@ -2194,7 +2192,7 @@ Porting to Python 3.10
``picklebufobject.h``, ``pyarena.h``, ``pyctype.h``, ``pydebug.h``,
``pyfpe.h``, and ``pytime.h`` have been moved to the ``Include/cpython``
directory. These files must not be included directly, as they are already
- included in ``Python.h``: :ref:`Include Files <api-includes>`. If they have
+ included in ``Python.h``; see :ref:`api-includes`. If they have
been included directly, consider including ``Python.h`` instead.
(Contributed by Nicholas Sim in :issue:`35134`.)