diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2003-02-23 21:36:47 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2003-02-23 21:36:47 (GMT) |
commit | 7aba3d471f3f23b5cd2a78c4b7756366adfb2130 (patch) | |
tree | ffb2773829338fc801a469091170f215c5c5810c /Doc/lib/libshutil.tex | |
parent | a4c93b68f164e6e3db881e9af5f0fdc9153680d4 (diff) | |
download | cpython-7aba3d471f3f23b5cd2a78c4b7756366adfb2130.zip cpython-7aba3d471f3f23b5cd2a78c4b7756366adfb2130.tar.gz cpython-7aba3d471f3f23b5cd2a78c4b7756366adfb2130.tar.bz2 |
Fix SF bug #691276, shutil.copytree documentation bug
Diffstat (limited to 'Doc/lib/libshutil.tex')
-rw-r--r-- | Doc/lib/libshutil.tex | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/lib/libshutil.tex b/Doc/lib/libshutil.tex index 72c5a3d..17b1daa 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}}} |