summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2004-05-05 17:21:51 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2004-05-05 17:21:51 (GMT)
commit99872c1342389c4180937b7683d93679462da3d0 (patch)
treebdd5d31cccc04b9b8dee55ff3309f74524c7d3b0
parent0fefc140aaa5a0e932e2c30bbcbfb48231b4be49 (diff)
downloadcpython-99872c1342389c4180937b7683d93679462da3d0.zip
cpython-99872c1342389c4180937b7683d93679462da3d0.tar.gz
cpython-99872c1342389c4180937b7683d93679462da3d0.tar.bz2
[Bug #810879] Document that copyfile() can fail if you don't have permissions; also, fix a double negative.
-rw-r--r--Doc/lib/libshutil.tex8
1 files changed, 5 insertions, 3 deletions
diff --git a/Doc/lib/libshutil.tex b/Doc/lib/libshutil.tex
index 17b1daa..a84fca9 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}