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
757f7809
Commit
757f7809
authored
Sep 04, 2001
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add more detail to the descriptions of the shutil functions.
This closes SF bug #458223.
parent
c05fc7dd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
Doc/lib/libshutil.tex
Doc/lib/libshutil.tex
+9
-4
No files found.
Doc/lib/libshutil.tex
View file @
757f7809
...
...
@@ -21,7 +21,9 @@ 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.
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
}
are path names given as strings.
\end{funcdesc}
\begin{funcdesc}
{
copyfileobj
}{
fsrc, fdst
\optional
{
, length
}}
...
...
@@ -35,20 +37,23 @@ file type and creator codes will not be correct.
\begin{funcdesc}
{
copymode
}{
src, dst
}
Copy the permission bits from
\var
{
src
}
to
\var
{
dst
}
. The file
contents, owner, and group are unaffected.
contents, owner, and group are unaffected.
\var
{
src
}
and
\var
{
dst
}
are path names given as strings.
\end{funcdesc}
\begin{funcdesc}
{
copystat
}{
src, dst
}
Copy the permission bits, last access time, and last modification
time from
\var
{
src
}
to
\var
{
dst
}
. The file contents, owner, and
group are unaffected.
group are unaffected.
\var
{
src
}
and
\var
{
dst
}
are path names given
as strings.
\end{funcdesc}
\begin{funcdesc}
{
copy
}{
src, dst
}
Copy the file
\var
{
src
}
to the file or directory
\var
{
dst
}
. If
\var
{
dst
}
is a directory, a file with the same basename as
\var
{
src
}
is created (or overwritten) in the directory specified. Permission
bits are copied.
bits are copied.
\var
{
src
}
and
\var
{
dst
}
are path names given as
strings.
\end{funcdesc}
\begin{funcdesc}
{
copy2
}{
src, dst
}
...
...
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