Skip to content

Commit 70de354

Browse files
committed
pythongh-111301: Move importlib.resources changes to the Removed section
1 parent 8eaa206 commit 70de354

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

Doc/whatsnew/3.13.rst

+16-13
Original file line numberDiff line numberDiff line change
@@ -605,19 +605,6 @@ although there is currently no date scheduled for their removal.
605605
* Implicit ``None`` on return values.
606606

607607
* :mod:`importlib.resources`: First parameter to files is renamed to 'anchor'.
608-
* :mod:`importlib.resources` deprecated methods:
609-
610-
* ``contents()``
611-
* ``is_resource()``
612-
* ``open_binary()``
613-
* ``open_text()``
614-
* ``path()``
615-
* ``read_binary()``
616-
* ``read_text()``
617-
618-
Use ``files()`` instead. Refer to `importlib-resources: Migrating from Legacy
619-
<https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy>`_
620-
for migration advice.
621608

622609
* :mod:`mailbox`: Use of StringIO input and text mode is deprecated, use
623610
BytesIO and binary mode instead.
@@ -831,6 +818,22 @@ configparser
831818
and with a deprecation warning since Python 3.11.
832819
(Contributed by Hugo van Kemenade in :gh:`104886`.)
833820

821+
importlib
822+
---------
823+
824+
* Remove :mod:`importlib.resources` deprecated methods:
825+
* ``contents()``
826+
* ``is_resource()``
827+
* ``open_binary()``
828+
* ``open_text()``
829+
* ``path()``
830+
* ``read_binary()``
831+
* ``read_text()``
832+
Use :func:`importlib.resources.files()` instead. Refer to `importlib-resources: Migrating from Legacy
833+
<https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy>`_
834+
for migration advice.
835+
(Contributed by Jason R. Coombs in :gh:`106532`.)
836+
834837
locale
835838
------
836839

0 commit comments

Comments
 (0)