Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 101447b commit 47c41b4Copy full SHA for 47c41b4
1 file changed
Doc/library/os.rst
@@ -2391,8 +2391,9 @@ features:
2391
if 'CVS' in dirs:
2392
dirs.remove('CVS') # don't visit CVS directories
2393
2394
- In the next example, walking the tree bottom-up is essential: :func:`rmdir`
2395
- doesn't allow deleting a directory before the directory is empty::
+ In the next example (simple implementation of :func:`shutil.rmtree`),
+ walking the tree bottom-up is essential, :func:`rmdir` doesn't allow
2396
+ deleting a directory before the directory is empty::
2397
2398
# Delete everything reachable from the directory named in "top",
2399
# assuming there are no symbolic links.
0 commit comments