From 0e316f688ef2499fe31ea7cf8e4884cf22863b0d Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Fri, 23 Oct 2015 12:38:11 +0200 Subject: [PATCH] Issue #25461: Rephrase os.walk() doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch written by Bernt Røskar Brenna. --- Doc/library/os.rst | 6 +++--- Misc/ACKS | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 916f5e56cfb..7bc59898ab5 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -2347,9 +2347,9 @@ features: recurse into the subdirectories whose names remain in *dirnames*; this can be used to prune the search, impose a specific order of visiting, or even to inform :func:`walk` about directories the caller creates or renames before it resumes - :func:`walk` again. Modifying *dirnames* when *topdown* is ``False`` is - ineffective, because in bottom-up mode the directories in *dirnames* are - generated before *dirpath* itself is generated. + :func:`walk` again. Modifying *dirnames* when *topdown* is ``False`` has + no effect on the behavior of the walk, because in bottom-up mode the directories + in *dirnames* are generated before *dirpath* itself is generated. By default, errors from the :func:`listdir` call are ignored. If optional argument *onerror* is specified, it should be a function; it will be called with diff --git a/Misc/ACKS b/Misc/ACKS index d0ba52f1937..893fb2d2534 100644 --- a/Misc/ACKS +++ b/Misc/ACKS @@ -1208,6 +1208,7 @@ Rusty Russell Nick Russo James Rutherford Chris Ryland +Bernt Røskar Brenna Constantina S. Patrick Sabin Sébastien Sablé