Skip to content

Commit

Permalink
pythongh-111301: Move importlib.resources.files change to What's ne…
Browse files Browse the repository at this point in the history
…w in Python 3.12 (python#111512)
  • Loading branch information
befeleme authored and aisk committed Feb 11, 2024
1 parent 3fb3960 commit 3d63c90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,9 @@ importlib.resources
* :func:`importlib.resources.as_file` now supports resource directories.
(Contributed by Jason R. Coombs in :gh:`97930`.)

* Rename first parameter of :func:`importlib.resources.files` to *anchor*.
(Contributed by Jason R. Coombs in :gh:`100598`.)

inspect
-------

Expand Down
1 change: 0 additions & 1 deletion Doc/whatsnew/3.13.rst
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,6 @@ although there is currently no date scheduled for their removal.
* ``EntryPoints`` tuple interface.
* Implicit ``None`` on return values.

* :mod:`importlib.resources`: First parameter to files is renamed to 'anchor'.
* :mod:`importlib.resources` deprecated methods:

* ``contents()``
Expand Down

0 comments on commit 3d63c90

Please sign in to comment.