Skip to content

Commit 9976834

Browse files
authored
gh-111301: Move importlib.resources.files change to What's new in Python 3.12 (#111512)
1 parent 173d13b commit 9976834

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Doc/whatsnew/3.12.rst

+3
Original file line numberDiff line numberDiff line change
@@ -716,6 +716,9 @@ importlib.resources
716716
* :func:`importlib.resources.as_file` now supports resource directories.
717717
(Contributed by Jason R. Coombs in :gh:`97930`.)
718718

719+
* Rename first parameter of :func:`importlib.resources.files` to *anchor*.
720+
(Contributed by Jason R. Coombs in :gh:`100598`.)
721+
719722
inspect
720723
-------
721724

Doc/whatsnew/3.13.rst

-1
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,6 @@ although there is currently no date scheduled for their removal.
604604
* ``EntryPoints`` tuple interface.
605605
* Implicit ``None`` on return values.
606606

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

610609
* ``contents()``

0 commit comments

Comments
 (0)