]> granicus.if.org Git - python/commitdiff
Fix closes Issue12183 - Explain the Symlink copy behavior in shutil.copytree. Patch...
authorSenthil Kumaran <senthil@uthcode.com>
Tue, 2 Aug 2011 10:50:44 +0000 (18:50 +0800)
committerSenthil Kumaran <senthil@uthcode.com>
Tue, 2 Aug 2011 10:50:44 +0000 (18:50 +0800)
Doc/library/shutil.rst

index 1082d2a37b4e559c65aba893254f164add136cc5..cb0a9ae9336c2348c5015147ce825109ee23a697 100644 (file)
@@ -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