changeset: 98835:0286bb18a351 branch: 3.4 parent: 98827:0847398f9b00 user: Victor Stinner date: Fri Oct 23 12:38:11 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 0847398f9b00 -r 0286bb18a351 Doc/library/os.rst --- a/Doc/library/os.rst Thu Oct 22 03:27:31 2015 -0400 +++ b/Doc/library/os.rst Fri Oct 23 12:38:11 2015 +0200 @@ -2347,9 +2347,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 0847398f9b00 -r 0286bb18a351 Misc/ACKS --- a/Misc/ACKS Thu Oct 22 03:27:31 2015 -0400 +++ b/Misc/ACKS Fri Oct 23 12:38:11 2015 +0200 @@ -1208,6 +1208,7 @@ Nick Russo James Rutherford Chris Ryland +Bernt Røskar Brenna Constantina S. Patrick Sabin Sébastien Sablé