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
f6e17ddf
Commit
f6e17ddf
authored
May 11, 2019
by
Aurelio Jargas
Committed by
Cheryl Sabella
May 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hide module name from local (anchor) links in shutil docs (GH-6695)
parent
4ebcd7e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Doc/library/shutil.rst
Doc/library/shutil.rst
+4
-4
No files found.
Doc/library/shutil.rst
View file @
f6e17ddf
...
@@ -54,7 +54,7 @@ Directory and files operations
...
@@ -54,7 +54,7 @@ Directory and files operations
*dst* and return *dst* in the most efficient way possible.
*dst* and return *dst* in the most efficient way possible.
*src* and *dst* are path names given as strings.
*src* and *dst* are path names given as strings.
*dst* must be the complete target file name; look at :func:`shutil.copy`
*dst* must be the complete target file name; look at :func:`
~
shutil.copy`
for a copy that accepts a target directory path. If *src* and *dst*
for a copy that accepts a target directory path. If *src* and *dst*
specify the same file, :exc:`SameFileError` is raised.
specify the same file, :exc:`SameFileError` is raised.
...
@@ -218,7 +218,7 @@ Directory and files operations
...
@@ -218,7 +218,7 @@ Directory and files operations
already exists.
already exists.
Permissions and times of directories are copied with :func:`copystat`,
Permissions and times of directories are copied with :func:`copystat`,
individual files are copied using :func:`shutil.copy2`.
individual files are copied using :func:`
~
shutil.copy2`.
If *symlinks* is true, symbolic links in the source tree are represented as
If *symlinks* is true, symbolic links in the source tree are represented as
symbolic links in the new tree and the metadata of the original links will
symbolic links in the new tree and the metadata of the original links will
...
@@ -246,8 +246,8 @@ Directory and files operations
...
@@ -246,8 +246,8 @@ Directory and files operations
If *copy_function* is given, it must be a callable that will be used to copy
If *copy_function* is given, it must be a callable that will be used to copy
each file. It will be called with the source path and the destination path
each file. It will be called with the source path and the destination path
as arguments. By default, :func:`
shutil.copy2` is used, but any function
as arguments. By default, :func:`~
shutil.copy2` is used, but any function
that supports the same signature (like :func:`
shutil.copy`) can be used.
that supports the same signature (like :func:`~
shutil.copy`) can be used.
.. versionchanged:: 3.3
.. versionchanged:: 3.3
Copy metadata when *symlinks* is false.
Copy metadata when *symlinks* is false.
...
...
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