diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst index 1b160d8..99ee111 100644 --- a/Doc/library/shutil.rst +++ b/Doc/library/shutil.rst @@ -86,6 +86,9 @@ Directory and files operations :func:`copy` followed by :func:`copystat`. This is similar to the Unix command :program:`cp -p`. + Symbolic links are not preserved. The contents and metadata of the + linked files are copied instead. + .. function:: ignore_patterns(\*patterns) @@ -105,8 +108,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