diff options
author | Georg Brandl <georg@python.org> | 2008-05-16 13:18:50 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-05-16 13:18:50 (GMT) |
commit | 88107dafefd374f1eb743b5a2d74aab13e7aa9f7 (patch) | |
tree | eafd4b02cf40a7e3f16e1091e47d4741961181de | |
parent | 5049a858baf3500af5d4eb12838f028aabefc35b (diff) | |
download | cpython-88107dafefd374f1eb743b5a2d74aab13e7aa9f7.zip cpython-88107dafefd374f1eb743b5a2d74aab13e7aa9f7.tar.gz cpython-88107dafefd374f1eb743b5a2d74aab13e7aa9f7.tar.bz2 |
#2845: fix copy2's docs.
-rw-r--r-- | Doc/library/shutil.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst index f28fbac..bd66aa9 100644 --- a/Doc/library/shutil.rst +++ b/Doc/library/shutil.rst @@ -73,8 +73,9 @@ copying and removal. For operations on individual files, see also the .. function:: copy2(src, dst) - Similar to :func:`copy`, but last access time and last modification time are - copied as well. This is similar to the Unix command :program:`cp -p`. + Similar to :func:`copy`, but metadata is copied as well -- in fact, this is just + :func:`copy` followed by :func:`copystat`. This is similar to the + Unix command :program:`cp -p`. .. function:: copytree(src, dst[, symlinks]) |