Skip to content

Commit c1d7a6b

Browse files
authored
docs: Fix typos and use anchor for internal link (GH-30236)
1 parent 1fb7c61 commit c1d7a6b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Doc/whatsnew/3.10.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1437,7 +1437,7 @@ and to match the behavior of static type checkers specified in the PEP.
14371437
14381438
1. ``Literal`` now de-duplicates parameters.
14391439
2. Equality comparisons between ``Literal`` objects are now order independent.
1440-
3. ``Literal`` comparisons now respects types. For example,
1440+
3. ``Literal`` comparisons now respect types. For example,
14411441
``Literal[0] == Literal[False]`` previously evaluated to ``True``. It is
14421442
now ``False``. To support this change, the internally used type cache now
14431443
supports differentiating types.
@@ -1647,13 +1647,12 @@ Deprecated
16471647
:meth:`importlib.machinery.FrozenImporter.find_module`,
16481648
:meth:`importlib.machinery.WindowsRegistryFinder.find_module`,
16491649
:meth:`importlib.machinery.PathFinder.find_module`,
1650-
:meth:`importlib.abc.MetaPathFinder.find_module`),
1650+
:meth:`importlib.abc.MetaPathFinder.find_module` ),
16511651
:meth:`importlib.abc.PathEntryFinder.find_module` (
1652-
:meth:`importlib.machinery.FileFinder.find_module`,
1653-
), and
1652+
:meth:`importlib.machinery.FileFinder.find_module` ), and
16541653
:meth:`importlib.abc.PathEntryFinder.find_loader` (
1655-
:meth:`importlib.machinery.FileFinder.find_loader`
1656-
) now raise :exc:`DeprecationWarning` and are slated for removal in
1654+
:meth:`importlib.machinery.FileFinder.find_loader` )
1655+
now raise :exc:`DeprecationWarning` and are slated for removal in
16571656
Python 3.12 (previously they were documented as deprecated in Python 3.4).
16581657
(Contributed by Brett Cannon in :issue:`42135`.)
16591658
@@ -1694,7 +1693,7 @@ Deprecated
16941693
* :func:`asyncio.get_event_loop` now emits a deprecation warning if there is
16951694
no running event loop. In the future it will be an alias of
16961695
:func:`~asyncio.get_running_loop`.
1697-
:mod:`asyncio` functions which implicitly create a :class:`~asyncio.Future`
1696+
:mod:`asyncio` functions which implicitly create :class:`~asyncio.Future`
16981697
or :class:`~asyncio.Task` objects now emit
16991698
a deprecation warning if there is no running event loop and no explicit
17001699
*loop* argument is passed: :func:`~asyncio.ensure_future`,
@@ -1834,7 +1833,7 @@ Removed
18341833
running in different threads.
18351834
18361835
Note that the low-level API will still accept ``loop``.
1837-
See `Changes in the Python API`_ for examples of how to replace existing code.
1836+
See :ref:`changes-python-api` for examples of how to replace existing code.
18381837
18391838
(Contributed by Yurii Karabas, Andrew Svetlov, Yury Selivanov and Kyle Stanley
18401839
in :issue:`42392`.)
@@ -1858,6 +1857,7 @@ Changes in the Python syntax
18581857
following keyword.
18591858
(Contributed by Serhiy Storchaka in :issue:`43833`).
18601859
1860+
.. _changes-python-api:
18611861
18621862
Changes in the Python API
18631863
-------------------------
@@ -1979,7 +1979,7 @@ Build Changes
19791979
(Contributed by Victor Stinner in :issue:`36020`.)
19801980
19811981
* :mod:`sqlite3` requires SQLite 3.7.15 or higher. (Contributed by Sergey Fedoseev
1982-
and Erlend E. Aasland :issue:`40744` and :issue:`40810`.)
1982+
and Erlend E. Aasland in :issue:`40744` and :issue:`40810`.)
19831983
19841984
* The :mod:`atexit` module must now always be built as a built-in module.
19851985
(Contributed by Victor Stinner in :issue:`42639`.)

0 commit comments

Comments
 (0)