]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-111301: Move `importlib.resources.files` change to What's new in Python 3.12 ...
authorKarolina Surma <33810531+befeleme@users.noreply.github.com>
Tue, 31 Oct 2023 06:01:00 +0000 (07:01 +0100)
committerGitHub <noreply@github.com>
Tue, 31 Oct 2023 06:01:00 +0000 (06:01 +0000)
Doc/whatsnew/3.12.rst
Doc/whatsnew/3.13.rst

index 36d12feebea79b0d75430d9b1b3ee46f0df55ca1..72277a023b3b2ef57304a5727db2d9d897e8a2d8 100644 (file)
@@ -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
 -------
 
index 84d5daae6e623c4c3fe99913adaa376a40134f07..eaa9ab5a04c88c9424e8f294fa0e31b579875c8b 100644 (file)
@@ -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()``