From: Georg Brandl Date: Fri, 16 May 2008 13:18:50 +0000 (+0000) Subject: #2845: fix copy2's docs. X-Git-Tag: v2.6b1~378 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=88107dafefd374f1eb743b5a2d74aab13e7aa9f7;p=python #2845: fix copy2's docs. --- diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst index f28fbacfcd..bd66aa9621 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])