summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorFredrik Lundh <fredrik@pythonware.com>2005-11-12 15:55:04 (GMT)
committerFredrik Lundh <fredrik@pythonware.com>2005-11-12 15:55:04 (GMT)
commit96c1c7a571642e5955d7608830b69067760623f0 (patch)
tree3a97e4d05f7258c12175c7c4b7e76502876bf05b /Lib
parentd489398da9e0bd5c66a8512c35db7f7fdd7146d9 (diff)
downloadcpython-96c1c7a571642e5955d7608830b69067760623f0.zip
cpython-96c1c7a571642e5955d7608830b69067760623f0.tar.gz
cpython-96c1c7a571642e5955d7608830b69067760623f0.tar.bz2
SF#1343671.
The removedirs function removes empty directories, it doesn't empty them.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/os.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/os.py b/Lib/os.py
index bf1b086..7c49ba4 100644
--- a/Lib/os.py
+++ b/Lib/os.py
@@ -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