summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStanislav Zmiev <szmiev2000@gmail.com>2022-08-11 07:31:46 (GMT)
committerGitHub <noreply@github.com>2022-08-11 07:31:46 (GMT)
commit5ed584cb6b4e544d307f2f1b6f28667078cc20af (patch)
tree3ab31ff1db23bb6e570c91d721c9e6c922999e55
parentb9e956fccf60e2083d63bdfa30d7e04c910e94c2 (diff)
downloadcpython-5ed584cb6b4e544d307f2f1b6f28667078cc20af.zip
cpython-5ed584cb6b4e544d307f2f1b6f28667078cc20af.tar.gz
cpython-5ed584cb6b4e544d307f2f1b6f28667078cc20af.tar.bz2
gh-90385: Add pathlib.Path.walk what's new section (GH-95467)
Automerge-Triggered-By: GH:brettcannon
-rw-r--r--Doc/whatsnew/3.12.rst7
1 files changed, 7 insertions, 0 deletions
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
---