From 5ed584cb6b4e544d307f2f1b6f28667078cc20af Mon Sep 17 00:00:00 2001 From: Stanislav Zmiev Date: Thu, 11 Aug 2022 11:31:46 +0400 Subject: gh-90385: Add pathlib.Path.walk what's new section (GH-95467) Automerge-Triggered-By: GH:brettcannon --- Doc/whatsnew/3.12.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index acf5961..5926205 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -93,6 +93,13 @@ 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:`90385`.) + dis --- -- cgit v0.12