changeset: 98838:8247dff49113 branch: 2.7 parent: 98833:bdb219a0219c user: Victor Stinner date: Fri Oct 23 12:42:39 2015 +0200 files: Doc/library/os.rst Misc/ACKS description: Issue #25461: Rephrase os.walk() doc Patch written by Bernt Røskar Brenna. diff -r bdb219a0219c -r 8247dff49113 Doc/library/os.rst --- a/Doc/library/os.rst Thu Oct 22 13:12:20 2015 -0700 +++ b/Doc/library/os.rst Fri Oct 23 12:42:39 2015 +0200 @@ -1608,9 +1608,9 @@ 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 -r bdb219a0219c -r 8247dff49113 Misc/ACKS --- a/Misc/ACKS Thu Oct 22 13:12:20 2015 -0700 +++ b/Misc/ACKS Fri Oct 23 12:42:39 2015 +0200 @@ -1179,6 +1179,7 @@ Paul Rubin Sam Ruby Demur Rumed +Bernt Røskar Brenna Audun S. Runde Eran Rundstein Rauli Ruohonen