summaryrefslogtreecommitdiffstats
path: root/Doc/library/shutil.rst
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2011-08-02 10:50:44 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2011-08-02 10:50:44 (GMT)
commit22a7b488e0fe72c51de6f036f6a03b5d191120eb (patch)
tree345c51474f2bd833e6bce12ea3ad2457d3b234f9 /Doc/library/shutil.rst
parent01a3ee8b217f9d7dfb76374f9bd8383dfdffdbb5 (diff)
downloadcpython-22a7b488e0fe72c51de6f036f6a03b5d191120eb.zip
cpython-22a7b488e0fe72c51de6f036f6a03b5d191120eb.tar.gz
cpython-22a7b488e0fe72c51de6f036f6a03b5d191120eb.tar.bz2
Fix closes Issue12183 - Explain the Symlink copy behavior in shutil.copytree. Patch by Petri Lehtinen.
Diffstat (limited to 'Doc/library/shutil.rst')
-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 1082d2a..cb0a9ae 100644
--- a/Doc/library/shutil.rst
+++ b/Doc/library/shutil.rst
@@ -105,8 +105,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.
If *ignore* is given, it must be a callable that will receive as its
arguments the directory being visited by :func:`copytree`, and a list of its