[Bug #810879] Document that copyfile() can fail if you don't have permissions; also, fix a double negative.

This commit is contained in:
Andrew M. Kuchling 2004-05-05 17:21:51 +00:00
parent 0fefc140aa
commit 99872c1342
1 changed files with 5 additions and 3 deletions

View File

@ -20,9 +20,11 @@ file type and creator codes will not be correct.
\begin{funcdesc}{copyfile}{src, dst} \begin{funcdesc}{copyfile}{src, dst}
Copy the contents of the file named \var{src} to a file named 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 \var{dst}. The destination location must be writable; otherwise,
will be created. Special files such as character or block devices an \exception{IOError} exception will be raised.
and pipes cannot not be copied with this function. \var{src} and 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. \var{dst} are path names given as strings.
\end{funcdesc} \end{funcdesc}