[issue40160] documentation example of os.walk should be less destructive

Raymond Hettinger report at bugs.python.org
Thu Apr 2 19:13:45 EDT 2020


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

The proposed replacement doesn't succeed in demonstrating why topdown=False is necessary.  Consider doing a rename instead of a deletion or print.

----------
nosy: +rhettinger

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40160>
_______________________________________


More information about the Python-bugs-list mailing list