@@ -1437,7 +1437,7 @@ and to match the behavior of static type checkers specified in the PEP.
1437
1437
1438
1438
1 . `` Literal`` now de- duplicates parameters.
1439
1439
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,
1441
1441
`` Literal[0 ] == Literal[False ]`` previously evaluated to `` True `` . It is
1442
1442
now `` False `` . To support this change, the internally used type cache now
1443
1443
supports differentiating types.
@@ -1647,13 +1647,12 @@ Deprecated
1647
1647
:meth:`importlib.machinery.FrozenImporter.find_module` ,
1648
1648
:meth:`importlib.machinery.WindowsRegistryFinder.find_module` ,
1649
1649
:meth:`importlib.machinery.PathFinder.find_module` ,
1650
- :meth:`importlib.abc.MetaPathFinder.find_module` ),
1650
+ :meth:`importlib.abc.MetaPathFinder.find_module` ),
1651
1651
:meth:`importlib.abc.PathEntryFinder.find_module` (
1652
- :meth:`importlib.machinery.FileFinder.find_module` ,
1653
- ), and
1652
+ :meth:`importlib.machinery.FileFinder.find_module` ), and
1654
1653
: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
1657
1656
Python 3.12 (previously they were documented as deprecated in Python 3.4 ).
1658
1657
(Contributed by Brett Cannon in :issue:`42135 ` .)
1659
1658
@@ -1694,7 +1693,7 @@ Deprecated
1694
1693
* :func:`asyncio.get_event_loop` now emits a deprecation warning if there is
1695
1694
no running event loop. In the future it will be an alias of
1696
1695
: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`
1698
1697
or :class :`~ asyncio.Task` objects now emit
1699
1698
a deprecation warning if there is no running event loop and no explicit
1700
1699
* loop* argument is passed: :func:`~ asyncio.ensure_future` ,
@@ -1834,7 +1833,7 @@ Removed
1834
1833
running in different threads.
1835
1834
1836
1835
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.
1838
1837
1839
1838
(Contributed by Yurii Karabas, Andrew Svetlov, Yury Selivanov and Kyle Stanley
1840
1839
in :issue:`42392 ` .)
@@ -1858,6 +1857,7 @@ Changes in the Python syntax
1858
1857
following keyword.
1859
1858
(Contributed by Serhiy Storchaka in :issue:`43833 ` ).
1860
1859
1860
+ .. _changes- python- api:
1861
1861
1862
1862
Changes in the Python API
1863
1863
------------------------ -
@@ -1979,7 +1979,7 @@ Build Changes
1979
1979
(Contributed by Victor Stinner in :issue:`36020 ` .)
1980
1980
1981
1981
* :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 ` .)
1983
1983
1984
1984
* The :mod:`atexit` module must now always be built as a built- in module.
1985
1985
(Contributed by Victor Stinner in :issue:`42639 ` .)
0 commit comments