summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2011-08-02 10:52:28 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2011-08-02 10:52:28 (GMT)
commitef5c71617634ba24b6ed14d65d0466fe84e53057 (patch)
tree5a9588e7a6a8255ec6d449d15d01e6fffac03841 /Doc
parenteb71ad4c71a95d9b7397e3baaaadcb0687efa894 (diff)
downloadcpython-ef5c71617634ba24b6ed14d65d0466fe84e53057.zip
cpython-ef5c71617634ba24b6ed14d65d0466fe84e53057.tar.gz
cpython-ef5c71617634ba24b6ed14d65d0466fe84e53057.tar.bz2
Fix closes Issue12183 - Explain the Symlink copy behavior in shutil.copytree. Patch by Petri Lehtinen.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/shutil.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst
index 5e5f8c9..a785682 100644
--- a/Doc/library/shutil.rst
+++ b/Doc/library/shutil.rst
@@ -101,8 +101,9 @@ Directory and files operations
:func:`copy2`.
If *symlinks* is true, symbolic links in the source tree are represented as
- symbolic links in the new tree; if false or omitted, the contents of the
- linked files are copied to the new tree.
+ symbolic links in the new tree, but the metadata of the original links is NOT
+ copied; if false or omitted, the contents and metadata of the linked files
+ are copied to the new tree.
When *symlinks* is false, if the file pointed by the symlink doesn't
exist, a exception will be added in the list of errors raised in