From 88107dafefd374f1eb743b5a2d74aab13e7aa9f7 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Fri, 16 May 2008 13:18:50 +0000 Subject: [PATCH] #2845: fix copy2's docs. --- Doc/library/shutil.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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]) -- 2.40.0