summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarolina Surma <33810531+befeleme@users.noreply.github.com>2023-10-31 06:01:00 (GMT)
committerGitHub <noreply@github.com>2023-10-31 06:01:00 (GMT)
commit997683435693876e687cf09d3553abde18787d2e (patch)
treec2904789ec29b0cda90e6c3cb6f92fa6ca621426
parent173d13bb1f51a3022e48ce98f12b042f7e8e73ec (diff)
downloadcpython-997683435693876e687cf09d3553abde18787d2e.zip
cpython-997683435693876e687cf09d3553abde18787d2e.tar.gz
cpython-997683435693876e687cf09d3553abde18787d2e.tar.bz2
gh-111301: Move `importlib.resources.files` change to What's new in Python 3.12 (#111512)
-rw-r--r--Doc/whatsnew/3.12.rst3
-rw-r--r--Doc/whatsnew/3.13.rst1
2 files changed, 3 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst
index 36d12fe..72277a0 100644
--- a/Doc/whatsnew/3.12.rst
+++ b/Doc/whatsnew/3.12.rst
@@ -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
-------
diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst
index 84d5daa..eaa9ab5 100644
--- a/Doc/whatsnew/3.13.rst
+++ b/Doc/whatsnew/3.13.rst
@@ -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()``