From: Neal Norwitz Date: Sun, 23 Feb 2003 21:36:47 +0000 (+0000) Subject: Fix SF bug #691276, shutil.copytree documentation bug X-Git-Tag: v2.3c1~1721 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7aba3d471f3f23b5cd2a78c4b7756366adfb2130;p=python Fix SF bug #691276, shutil.copytree documentation bug --- diff --git a/Doc/lib/libshutil.tex b/Doc/lib/libshutil.tex index 72c5a3dfb1..17b1daa9c2 100644 --- a/Doc/lib/libshutil.tex +++ b/Doc/lib/libshutil.tex @@ -69,10 +69,13 @@ file type and creator codes will not be correct. \function{copy2()}. If \var{symlinks} is true, symbolic links in the source tree are represented as symbolic links in the new tree; if false or omitted, the contents of the linked files are copied to - the new tree. Errors are reported to standard output. + the new tree. If exception(s) occur, an Error is raised + with a list of reasons. The source code for this should be considered an example rather than a tool. +\versionchanged[Error is raised if any exceptions occur during copying, +rather than printing a message]{2.3} \end{funcdesc} \begin{funcdesc}{rmtree}{path\optional{, ignore_errors\optional{, onerror}}}