mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Issue #25461: Rephrase os.walk() doc
Patch written by Bernt Røskar Brenna.
This commit is contained in:
parent
d081229c4e
commit
0e316f688e
2 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1208,6 +1208,7 @@ Rusty Russell
|
|||
Nick Russo
|
||||
James Rutherford
|
||||
Chris Ryland
|
||||
Bernt Røskar Brenna
|
||||
Constantina S.
|
||||
Patrick Sabin
|
||||
Sébastien Sablé
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue