@@ -54,7 +54,7 @@ Directory and files operations
54
54
*dst * and return *dst * in the most efficient way possible.
55
55
*src * and *dst * are path names given as strings.
56
56
57
- *dst * must be the complete target file name; look at :func: `shutil.copy `
57
+ *dst * must be the complete target file name; look at :func: `~ shutil.copy `
58
58
for a copy that accepts a target directory path. If *src * and *dst *
59
59
specify the same file, :exc: `SameFileError ` is raised.
60
60
@@ -218,7 +218,7 @@ Directory and files operations
218
218
already exists.
219
219
220
220
Permissions and times of directories are copied with :func: `copystat `,
221
- individual files are copied using :func: `shutil.copy2 `.
221
+ individual files are copied using :func: `~ shutil.copy2 `.
222
222
223
223
If *symlinks * is true, symbolic links in the source tree are represented as
224
224
symbolic links in the new tree and the metadata of the original links will
@@ -246,8 +246,8 @@ Directory and files operations
246
246
247
247
If *copy_function * is given, it must be a callable that will be used to copy
248
248
each file. It will be called with the source path and the destination path
249
- as arguments. By default, :func: `shutil.copy2 ` is used, but any function
250
- that supports the same signature (like :func: `shutil.copy `) can be used.
249
+ as arguments. By default, :func: `~ shutil.copy2 ` is used, but any function
250
+ that supports the same signature (like :func: `~ shutil.copy `) can be used.
251
251
252
252
.. versionchanged :: 3.3
253
253
Copy metadata when *symlinks * is false.
0 commit comments