mirror of https://github.com/python/cpython
[Bug #810879] Document that copyfile() can fail if you don't have permissions; also, fix a double negative.
This commit is contained in:
parent
0fefc140aa
commit
99872c1342
|
@ -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}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue