@@ -39,7 +39,7 @@ Directory and files operations
39
39
40
40
.. function :: copyfileobj(fsrc, fdst[, length])
41
41
42
- Copy the contents of the file-like object *fsrc * to the file-like object *fdst *.
42
+ Copy the contents of the :term: ` file-like object <file object> ` *fsrc * to the file-like object *fdst *.
43
43
The integer *length *, if given, is the buffer size. In particular, a negative
44
44
*length * value means to copy the data without looping over the source data in
45
45
chunks; by default the data is read in chunks to avoid uncontrolled memory
@@ -52,7 +52,7 @@ Directory and files operations
52
52
53
53
Copy the contents (no metadata) of the file named *src * to a file named
54
54
*dst * and return *dst * in the most efficient way possible.
55
- *src * and *dst * are path-like objects or path names given as strings.
55
+ *src * and *dst * are :term: ` path-like objects <path-like object> ` or path names given as strings.
56
56
57
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 *
@@ -94,7 +94,7 @@ Directory and files operations
94
94
.. function :: copymode(src, dst, *, follow_symlinks=True)
95
95
96
96
Copy the permission bits from *src * to *dst *. The file contents, owner, and
97
- group are unaffected. *src * and *dst * are path-like objects or path names
97
+ group are unaffected. *src * and *dst * are :term: ` path-like objects <path-like object> ` or path names
98
98
given as strings.
99
99
If *follow_symlinks * is false, and both *src * and *dst * are symbolic links,
100
100
:func: `copymode ` will attempt to modify the mode of *dst * itself (rather
@@ -113,7 +113,7 @@ Directory and files operations
113
113
Copy the permission bits, last access time, last modification time, and
114
114
flags from *src * to *dst *. On Linux, :func: `copystat ` also copies the
115
115
"extended attributes" where possible. The file contents, owner, and
116
- group are unaffected. *src * and *dst * are path-like objects or path
116
+ group are unaffected. *src * and *dst * are :term: ` path-like objects <path-like object> ` or path
117
117
names given as strings.
118
118
119
119
If *follow_symlinks * is false, and *src * and *dst * both
0 commit comments