mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
merge 3.4 (#13779)
This commit is contained in:
commit
5b521fc9de
2 changed files with 12 additions and 8 deletions
|
@ -2236,9 +2236,11 @@ features:
|
|||
|
||||
If optional argument *topdown* is ``True`` or not specified, the triple for a
|
||||
directory is generated before the triples for any of its subdirectories
|
||||
(directories are generated top-down). If *topdown* is ``False``, the triple for a
|
||||
directory is generated after the triples for all of its subdirectories
|
||||
(directories are generated bottom-up).
|
||||
(directories are generated top-down). If *topdown* is ``False``, the triple
|
||||
for a directory is generated after the triples for all of its subdirectories
|
||||
(directories are generated bottom-up). No matter the value of *topdown*, the
|
||||
list of subdirectories is retrieved before the tuples for the directory and
|
||||
its subdirectories are generated.
|
||||
|
||||
When *topdown* is ``True``, the caller can modify the *dirnames* list in-place
|
||||
(perhaps using :keyword:`del` or slice assignment), and :func:`walk` will only
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue