diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-05-12 17:02:01 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-05-12 17:02:01 (GMT) |
commit | 424246fbf3953ccdb3b34961db007a453873a3ea (patch) | |
tree | 64fc5c2f67d12ae1ca24201d0569748f7df9352b /Doc | |
parent | 4d688e3275d5a10e2321571392cdc31945bb8a89 (diff) | |
download | cpython-424246fbf3953ccdb3b34961db007a453873a3ea.zip cpython-424246fbf3953ccdb3b34961db007a453873a3ea.tar.gz cpython-424246fbf3953ccdb3b34961db007a453873a3ea.tar.bz2 |
Issue #14082: shutil.copy2() now copies extended attributes, if possible.
Patch by Hynek Schlawack.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/shutil.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst index 21ee94f..3b5c1bd 100644 --- a/Doc/library/shutil.rst +++ b/Doc/library/shutil.rst @@ -102,14 +102,14 @@ Directory and files operations .. function:: copy2(src, dst[, symlinks=False]) - Similar to :func:`shutil.copy`, but metadata is copied as well -- in fact, - this is just :func:`shutil.copy` followed by :func:`copystat`. This is + Similar to :func:`shutil.copy`, but metadata is copied as well. This is similar to the Unix command :program:`cp -p`. If *symlinks* is true, symbolic links won't be followed but recreated instead -- this resembles GNU's :program:`cp -P`. .. versionchanged:: 3.3 - Added *symlinks* argument. + Added *symlinks* argument, try to copy extended file system attributes + too (currently Linux only). .. function:: ignore_patterns(\*patterns) |