Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
2be2dfd8
Commit
2be2dfd8
authored
Jul 31, 2000
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moshe Zadka <mzadka@geocities.com>:
Document new method in shutil (copyfileobj). Minor clarification by Fred.
parent
5f021617
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
Doc/lib/libshutil.tex
Doc/lib/libshutil.tex
+9
-0
No files found.
Doc/lib/libshutil.tex
View file @
2be2dfd8
...
@@ -23,6 +23,15 @@ file type and creator codes will not be correct.
...
@@ -23,6 +23,15 @@ file type and creator codes will not be correct.
it will be replaced, otherwise it will be created.
it will be replaced, otherwise it will be created.
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
copyfileobj
}{
fsrc, fdst
\optional
{
, length
}}
Copy the contents of the file-like object
\var
{
fsrc
}
to the
file-like object
\var
{
fdst
}
. The integer
\var
{
length
}
, if given,
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.
\end{funcdesc}
\begin{funcdesc}
{
copymode
}{
src, dst
}
\begin{funcdesc}
{
copymode
}{
src, dst
}
Copy the permission bits from
\var
{
src
}
to
\var
{
dst
}
. The file
Copy the permission bits from
\var
{
src
}
to
\var
{
dst
}
. The file
contents, owner, and group are unaffected.
contents, owner, and group are unaffected.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment