summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-03-07 09:34:45 (GMT)
committerGeorg Brandl <georg@python.org>2007-03-07 09:34:45 (GMT)
commitf08c073ded5a7cf5786f9a561e3d9529def81b6e (patch)
tree7ac38018fe510c24a633d3012b9a38348efb7ac2 /Doc
parentd0a962506bd69d94dcd740a9555140d09b8cf2b5 (diff)
downloadcpython-f08c073ded5a7cf5786f9a561e3d9529def81b6e.zip
cpython-f08c073ded5a7cf5786f9a561e3d9529def81b6e.tar.gz
cpython-f08c073ded5a7cf5786f9a561e3d9529def81b6e.tar.bz2
Patch #1669331: clarify shutil.copyfileobj() behavior wrt. file position.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libshutil.tex4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/lib/libshutil.tex b/Doc/lib/libshutil.tex
index ab2a0c1..2359dea 100644
--- a/Doc/lib/libshutil.tex
+++ b/Doc/lib/libshutil.tex
@@ -34,7 +34,9 @@ file type and creator codes will not be correct.
is the buffer size. In particular, a negative \var{length} value
means to copy the data without looping over the source data in
chunks; by default the data is read in chunks to avoid uncontrolled
- memory consumption.
+ memory consumption. Note that if the current file position of the
+ \var{fsrc} object is not 0, only the contents from the current file
+ position to the end of the file will be copied.
\end{funcdesc}
\begin{funcdesc}{copymode}{src, dst}