From: Stanislav Zmiev Date: Thu, 11 Aug 2022 07:31:46 +0000 (+0400) Subject: gh-90385: Add pathlib.Path.walk what's new section (GH-95467) X-Git-Tag: v3.12.0a1~678 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5ed584cb6b4e544d307f2f1b6f28667078cc20af;p=thirdparty%2FPython%2Fcpython.git gh-90385: Add pathlib.Path.walk what's new section (GH-95467) Automerge-Triggered-By: GH:brettcannon --- diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index acf59616b2fe..5926205ce5c0 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 ---