From 3d63c906202f7cbd81781795cfd1005068588ad7 Mon Sep 17 00:00:00 2001 From: Karolina Surma <33810531+befeleme@users.noreply.github.com> Date: Tue, 31 Oct 2023 07:01:00 +0100 Subject: [PATCH] gh-111301: Move `importlib.resources.files` change to What's new in Python 3.12 (#111512) --- Doc/whatsnew/3.12.rst | 3 +++ Doc/whatsnew/3.13.rst | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index 36d12feebea79b0..72277a023b3b2ef 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 84d5daae6e623c4..eaa9ab5a04c88c9 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()``