Kaydet (Commit) 4a7da9cd authored tarafından Georg Brandl's avatar Georg Brandl

Patch #1669331: clarify shutil.copyfileobj() behavior wrt. file position.

 (backport from rev. 54202)
üst b535b39f
......@@ -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}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment