From f4985e57529388dfe71270769ae009ca008216a6 Mon Sep 17 00:00:00 2001 From: Stanislav Zmiev Date: Sat, 30 Jul 2022 18:13:47 +0400 Subject: [PATCH 1/2] Add pathlib.Path.walk what's new section --- Doc/whatsnew/3.12.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index 033de1780b3d189..cddd820bec40807 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -90,6 +90,12 @@ New Modules Improved Modules ================ +pathlib +------- +* Add :meth:`~pathlib.Path.walk` for walking the directory trees and generating + all file or directory names within them, similar to :func:`os.walk`. + (Contributed by Stanislav Zmiev in :gh:`46227`.) + Optimizations ============= From f35b55ffaccb7e990e164a602dfe3f9597150df0 Mon Sep 17 00:00:00 2001 From: Stanislav Zmiev Date: Sat, 30 Jul 2022 18:18:56 +0400 Subject: [PATCH 2/2] Update issue version --- Doc/whatsnew/3.12.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index cddd820bec40807..51279bb8db4781d 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -94,7 +94,7 @@ pathlib ------- * Add :meth:`~pathlib.Path.walk` for walking the directory trees and generating all file or directory names within them, similar to :func:`os.walk`. - (Contributed by Stanislav Zmiev in :gh:`46227`.) + (Contributed by Stanislav Zmiev in :gh:`90385`.) Optimizations