summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-03-10 12:31:58 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-03-10 12:31:58 (GMT)
commit80f6bb4cd85c88fc24a4d183c7c236f97ac3eb2f (patch)
treef8fa3662904d9900ddcb4c3b2b5c607a334c253c /Doc
parent37f2034802c52f9a502a804246f00f4f2bffa72f (diff)
parent47c41b4e4d7d9b6662fb0c3f82e088ea04192dac (diff)
downloadcpython-80f6bb4cd85c88fc24a4d183c7c236f97ac3eb2f.zip
cpython-80f6bb4cd85c88fc24a4d183c7c236f97ac3eb2f.tar.gz
cpython-80f6bb4cd85c88fc24a4d183c7c236f97ac3eb2f.tar.bz2
Merge 3.4 (os doc)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/os.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index f423f76..7a0bd87 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -2604,8 +2604,9 @@ features:
if 'CVS' in dirs:
dirs.remove('CVS') # don't visit CVS directories
- In the next example, walking the tree bottom-up is essential: :func:`rmdir`
- 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
+ deleting a directory before the directory is empty::
# Delete everything reachable from the directory named in "top",
# assuming there are no symbolic links.