[Python-checkins] python/dist/src/Doc/lib libshutil.tex,1.13,1.14

akuchling at users.sourceforge.net akuchling at users.sourceforge.net
Wed May 5 13:21:54 EDT 2004


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2920

Modified Files:
	libshutil.tex 
Log Message:
[Bug #810879] Document that copyfile() can fail if you don't have permissions; also, fix a double negative.

Index: libshutil.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libshutil.tex,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** libshutil.tex	23 Feb 2003 21:36:47 -0000	1.13
--- libshutil.tex	5 May 2004 17:21:51 -0000	1.14
***************
*** 21,27 ****
  \begin{funcdesc}{copyfile}{src, dst}
    Copy the contents of the file named \var{src} to a file named
!   \var{dst}.  If \var{dst} exists, it will be replaced, otherwise it
!   will be created.  Special files such as character or block devices
!   and pipes cannot not be copied with this function.  \var{src} and
    \var{dst} are path names given as strings.
  \end{funcdesc}
--- 21,29 ----
  \begin{funcdesc}{copyfile}{src, dst}
    Copy the contents of the file named \var{src} to a file named
!   \var{dst}.  The destination location must be writable; otherwise, 
!   an \exception{IOError} exception will be raised.
!   If \var{dst} already exists, it will be replaced.  
!   Special files such as character or block devices
!   and pipes cannot be copied with this function.  \var{src} and
    \var{dst} are path names given as strings.
  \end{funcdesc}




More information about the Python-checkins mailing list