SF#1343671.

The removedirs function removes empty directories, it doesn't
empty them.
This commit is contained in:
Fredrik Lundh 2005-11-12 15:55:04 +00:00
parent d489398da9
commit 96c1c7a571
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ def makedirs(name, mode=0777):
def removedirs(name):
"""removedirs(path)
Super-rmdir; remove a leaf directory and empty all intermediate
Super-rmdir; remove a leaf directory and all empty intermediate
ones. Works like rmdir except that, if the leaf directory is
successfully removed, directories corresponding to rightmost path
segments will be pruned away until either the whole path is