]> granicus.if.org Git - python/commitdiff
#2845: fix copy2's docs.
authorGeorg Brandl <georg@python.org>
Fri, 16 May 2008 13:18:50 +0000 (13:18 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 16 May 2008 13:18:50 +0000 (13:18 +0000)
Doc/library/shutil.rst

index f28fbacfcd1af30f96dca00bd5e4480873f78059..bd66aa9621633a23487edd410a595fb3a1d05356 100644 (file)
@@ -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])