[Python-checkins] python/dist/src/Doc/lib libshutil.tex,1.10,1.11

loewis@users.sourceforge.net loewis@users.sourceforge.net
Mon, 07 Oct 2002 06:23:26 -0700


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv21395/Doc/lib

Modified Files:
	libshutil.tex 
Log Message:
Patch #448038: Add move(). Report errors from copytree as in shutil.Error.


Index: libshutil.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libshutil.tex,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** libshutil.tex	30 Jun 2002 04:43:20 -0000	1.10
--- libshutil.tex	7 Oct 2002 13:23:24 -0000	1.11
***************
*** 94,97 ****
--- 94,113 ----
  \end{funcdesc}
  
+ \begin{funcdesc}{move}{src, dst}
+ Recursively move a file or directory to another location.
+ 
+ If the destination is on our current filesystem, then simply use
+ rename.  Otherwise, copy src to the dst and then remove src.
+ 
+ \versionadded{2.3}
+ \end{funcdesc}
+ 
+ \begin{excdesc}{Error}
+ This exception collects exceptions that raised during a mult-file
+ operation. For \function{copytree}, the exception argument is a
+ list of 3-tuples (\var{srcname}, \var{dstname}, \var{exception}).
+ 
+ \versionadded{2.3}
+ \end{excdesc}
  
  \subsection{Example \label{shutil-example}}