From: Victor Stinner Date: Fri, 23 Oct 2015 10:42:39 +0000 (+0200) Subject: Issue #25461: Rephrase os.walk() doc X-Git-Tag: v2.7.11rc1~57 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=15a43ed03004e0cee33577a5567d29a7e08b87dc;p=python Issue #25461: Rephrase os.walk() doc Patch written by Bernt Røskar Brenna. --- diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 1ab039af08..77f02ab374 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -1608,9 +1608,9 @@ Files and Directories 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 32208f5aad..0c7d7d9cd0 100644 --- a/Misc/ACKS +++ b/Misc/ACKS @@ -1179,6 +1179,7 @@ Clinton Roy Paul Rubin Sam Ruby Demur Rumed +Bernt Røskar Brenna Audun S. Runde Eran Rundstein Rauli Ruohonen