From: Andrew M. Kuchling Date: Wed, 5 May 2004 17:21:51 +0000 (+0000) Subject: [Bug #810879] Document that copyfile() can fail if you don't have permissions; also... X-Git-Tag: v2.4a1~446 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=99872c1342389c4180937b7683d93679462da3d0;p=python [Bug #810879] Document that copyfile() can fail if you don't have permissions; also, fix a double negative. --- diff --git a/Doc/lib/libshutil.tex b/Doc/lib/libshutil.tex index 17b1daa9c2..a84fca960c 100644 --- a/Doc/lib/libshutil.tex +++ b/Doc/lib/libshutil.tex @@ -20,9 +20,11 @@ file type and creator codes will not be correct. \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}. 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}