Kaydet (Commit) 15a43ed0 authored tarafından Victor Stinner's avatar Victor Stinner

Issue #25461: Rephrase os.walk() doc

Patch written by Bernt Røskar Brenna.
üst 64707923
...@@ -1608,9 +1608,9 @@ Files and Directories ...@@ -1608,9 +1608,9 @@ Files and Directories
recurse into the subdirectories whose names remain in *dirnames*; this can be 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 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` about directories the caller creates or renames before it resumes
:func:`walk` again. Modifying *dirnames* when *topdown* is ``False`` is :func:`walk` again. Modifying *dirnames* when *topdown* is ``False`` has
ineffective, because in bottom-up mode the directories in *dirnames* are no effect on the behavior of the walk, because in bottom-up mode the directories
generated before *dirpath* itself is generated. in *dirnames* are generated before *dirpath* itself is generated.
By default, errors from the :func:`listdir` call are ignored. If optional 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 argument *onerror* is specified, it should be a function; it will be called with
......
...@@ -1179,6 +1179,7 @@ Clinton Roy ...@@ -1179,6 +1179,7 @@ Clinton Roy
Paul Rubin Paul Rubin
Sam Ruby Sam Ruby
Demur Rumed Demur Rumed
Bernt Røskar Brenna
Audun S. Runde Audun S. Runde
Eran Rundstein Eran Rundstein
Rauli Ruohonen Rauli Ruohonen
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment