diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2005-11-12 15:55:04 (GMT) |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2005-11-12 15:55:04 (GMT) |
commit | 96c1c7a571642e5955d7608830b69067760623f0 (patch) | |
tree | 3a97e4d05f7258c12175c7c4b7e76502876bf05b | |
parent | d489398da9e0bd5c66a8512c35db7f7fdd7146d9 (diff) | |
download | cpython-96c1c7a571642e5955d7608830b69067760623f0.zip cpython-96c1c7a571642e5955d7608830b69067760623f0.tar.gz cpython-96c1c7a571642e5955d7608830b69067760623f0.tar.bz2 |
SF#1343671.
The removedirs function removes empty directories, it doesn't
empty them.
-rw-r--r-- | Lib/os.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |