[issue40160] documentation example of os.walk should be less destructive
Serhiy Storchaka
report at bugs.python.org
Sun May 24 07:33:10 EDT 2020
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
1. There is already a warning before example.
2. Even if you blindly copy-paste the example it will not work. You have to set the top variable.
So I don't see any problem here. You always can shoot yourself in the foot if try enough.
----------
resolution: -> not a bug
stage: patch review -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40160>
_______________________________________
More information about the Python-bugs-list
mailing list