summaryrefslogtreecommitdiffstats
path: root/Doc/library/shutil.rst
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2012-07-15 00:55:11 (GMT)
committerLarry Hastings <larry@hastings.org>2012-07-15 00:55:11 (GMT)
commitad5ae0456e64036d1f39a15c214c2f394a8fb9c3 (patch)
tree379c65057bb04c36b9509b44d0a5c9db68758827 /Doc/library/shutil.rst
parent7c6309c6afebecd9cefe7c547b87cf23abcbe2a3 (diff)
downloadcpython-ad5ae0456e64036d1f39a15c214c2f394a8fb9c3.zip
cpython-ad5ae0456e64036d1f39a15c214c2f394a8fb9c3.tar.gz
cpython-ad5ae0456e64036d1f39a15c214c2f394a8fb9c3.tar.bz2
- Issue #15238: shutil.copystat now copies Linux "extended attributes".
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 c3947bb..e8dde06 100644
--- a/Doc/library/shutil.rst
+++ b/Doc/library/shutil.rst
@@ -86,10 +86,11 @@ Directory and files operations
from *src* to *dst*. The file contents, owner, and group are unaffected. *src*
and *dst* are path names given as strings. If *src* and *dst* are both
symbolic links and *symlinks* true, the stats of the link will be copied as
- far as the platform allows.
+ far as the platform allows. On Linux, :func:`copystat` also copies the
+ "extended attributes" where possible.
.. versionchanged:: 3.3
- Added *symlinks* argument.
+ Added *symlinks* argument and support for Linux extended attributes.
.. function:: copy(src, dst, symlinks=False)