[Python-checkins] cpython (2.7): Fix closes Issue12183 - Explain the Symlink copy behavior in shutil.copytree.
senthil.kumaran
python-checkins at python.org
Tue Aug 2 12:53:21 CEST 2011
http://hg.python.org/cpython/rev/209ad8920b03
changeset: 71690:209ad8920b03
branch: 2.7
parent: 71685:e8634ccd0c38
user: Senthil Kumaran <senthil at uthcode.com>
date: Tue Aug 02 18:50:44 2011 +0800
summary:
Fix closes Issue12183 - Explain the Symlink copy behavior in shutil.copytree. Patch by Petri Lehtinen.
files:
Doc/library/shutil.rst | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst
--- a/Doc/library/shutil.rst
+++ b/Doc/library/shutil.rst
@@ -105,8 +105,9 @@
: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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list