File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ Directory and files operations
153
153
is true and *src * is a symbolic link, *dst * will be a copy of
154
154
the file *src * refers to.
155
155
156
- :func: `copy ` copies the file data and the file's permission
156
+ :func: `~shutil. copy ` copies the file data and the file's permission
157
157
mode (see :func: `os.chmod `). Other metadata, like the
158
158
file's creation and modification times, is not preserved.
159
159
To preserve all file metadata from the original, use
@@ -302,7 +302,7 @@ Directory and files operations
302
302
*src * and *dst *, and will be used to copy *src * to *dest * if
303
303
:func: `os.rename ` cannot be used. If the source is a directory,
304
304
:func: `copytree ` is called, passing it the :func: `copy_function `. The
305
- default *copy_function * is :func: `copy2 `. Using :func: `copy ` as the
305
+ default *copy_function * is :func: `copy2 `. Using :func: `~shutil. copy ` as the
306
306
*copy_function * allows the move to succeed when it is not possible to also
307
307
copy the metadata, at the expense of not copying any of the metadata.
308
308
You can’t perform that action at this time.
0 commit comments