[Python-checkins] r63369 - python/trunk/Doc/library/shutil.rst
georg.brandl
python-checkins at python.org
Fri May 16 15:18:50 CEST 2008
Author: georg.brandl
Date: Fri May 16 15:18:50 2008
New Revision: 63369
Log:
#2845: fix copy2's docs.
Modified:
python/trunk/Doc/library/shutil.rst
Modified: python/trunk/Doc/library/shutil.rst
==============================================================================
--- python/trunk/Doc/library/shutil.rst (original)
+++ python/trunk/Doc/library/shutil.rst Fri May 16 15:18:50 2008
@@ -73,8 +73,9 @@
.. 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])
More information about the Python-checkins
mailing list