]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-90385: Add pathlib.Path.walk what's new section (GH-95467)
authorStanislav Zmiev <szmiev2000@gmail.com>
Thu, 11 Aug 2022 07:31:46 +0000 (11:31 +0400)
committerGitHub <noreply@github.com>
Thu, 11 Aug 2022 07:31:46 +0000 (00:31 -0700)
Automerge-Triggered-By: GH:brettcannon
Doc/whatsnew/3.12.rst

index acf59616b2fe170711290bb8d443d3eab067e9cf..5926205ce5c07d6a90428f8c491cb729649a711a 100644 (file)
@@ -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
 ---