]> granicus.if.org Git - python/commit
SF bug 1071087: os.walk example for deleting a full tree is sometime wrong.
authorTim Peters <tim.peters@gmail.com>
Mon, 22 Nov 2004 16:49:02 +0000 (16:49 +0000)
committerTim Peters <tim.peters@gmail.com>
Mon, 22 Nov 2004 16:49:02 +0000 (16:49 +0000)
commit919a3b40f9753aa7a9ce8efee9fad04919dd2929
treedfeac59d5becbc1356d3528f10e8b71f39da9e77
parenta9cadcd41b27fd045626c4e3b98315aaa257ca75
SF bug 1071087: os.walk example for deleting a full tree is sometime wrong.

Clarify that the example assumes no links are present; the point of the
example is to illustrate a need for topdown=False, not to wrestle with
platform-dependent link convolutions.

Also spell os.path.join() out in full, instead of using a shortcut import.
The bug reporter was confused by that too, and it's clearer this way.

Bugfix candidate; but I don't intend to backport it.
Doc/lib/libos.tex