[Python-checkins] gh-90385: Add pathlib.Path.walk what's new section (GH-95467)

miss-islington webhook-mailer at python.org
Thu Aug 11 03:31:58 EDT 2022


https://github.com/python/cpython/commit/5ed584cb6b4e544d307f2f1b6f28667078cc20af
commit: 5ed584cb6b4e544d307f2f1b6f28667078cc20af
branch: main
author: Stanislav Zmiev <szmiev2000 at gmail.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-08-11T00:31:46-07:00
summary:

gh-90385: Add pathlib.Path.walk what's new section (GH-95467)



Automerge-Triggered-By: GH:brettcannon

files:
M Doc/whatsnew/3.12.rst

diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst
index acf59616b2f..5926205ce5c 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
 ---
 



More information about the Python-checkins mailing list