summaryrefslogtreecommitdiffstats
path: root/Doc/deprecations
diff options
context:
space:
mode:
authorWei-Hsiang (Matt) Wang <mattwang44@gmail.com>2024-08-30 11:34:09 (GMT)
committerGitHub <noreply@github.com>2024-08-30 11:34:09 (GMT)
commit103a0470e31d80d56097f57a27d97d7d2d3c9fbb (patch)
tree52f32100a42617bf120a8bdb8d3aa193dc35ae8d /Doc/deprecations
parent8aaf7525ab839c32966ee862363ad2543a721306 (diff)
downloadcpython-103a0470e31d80d56097f57a27d97d7d2d3c9fbb.zip
cpython-103a0470e31d80d56097f57a27d97d7d2d3c9fbb.tar.gz
cpython-103a0470e31d80d56097f57a27d97d7d2d3c9fbb.tar.bz2
gh-123492: Remove unnecessary `:func:` parentheses (#123493)
Diffstat (limited to 'Doc/deprecations')
-rw-r--r--Doc/deprecations/pending-removal-in-3.13.rst2
-rw-r--r--Doc/deprecations/pending-removal-in-3.15.rst4
2 files changed, 3 insertions, 3 deletions
diff --git a/Doc/deprecations/pending-removal-in-3.13.rst b/Doc/deprecations/pending-removal-in-3.13.rst
index 03c785b..8979049 100644
--- a/Doc/deprecations/pending-removal-in-3.13.rst
+++ b/Doc/deprecations/pending-removal-in-3.13.rst
@@ -48,5 +48,5 @@ APIs:
* ``read_binary()``
* ``read_text()``
- Use :func:`importlib.resources.files()` instead. Refer to `importlib-resources: Migrating from Legacy
+ Use :func:`importlib.resources.files` instead. Refer to `importlib-resources: Migrating from Legacy
<https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy>`_ (:gh:`106531`)
diff --git a/Doc/deprecations/pending-removal-in-3.15.rst b/Doc/deprecations/pending-removal-in-3.15.rst
index 85eb634..5374e87 100644
--- a/Doc/deprecations/pending-removal-in-3.15.rst
+++ b/Doc/deprecations/pending-removal-in-3.15.rst
@@ -9,8 +9,8 @@ Pending Removal in Python 3.15
* :class:`locale`: :func:`locale.getdefaultlocale` was deprecated in Python 3.11
and originally planned for removal in Python 3.13 (:gh:`90817`),
but removal has been postponed to Python 3.15.
- Use :func:`locale.setlocale()`, :func:`locale.getencoding()` and
- :func:`locale.getlocale()` instead.
+ Use :func:`locale.setlocale`, :func:`locale.getencoding` and
+ :func:`locale.getlocale` instead.
(Contributed by Hugo van Kemenade in :gh:`111187`.)
* :mod:`pathlib`: