File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Original file line number Diff line number Diff line change @@ -158,9 +158,9 @@ Directory and files operations
158
158
.. function :: copy(src, dst, *, follow_symlinks=True)
159
159
160
160
Copies the file *src * to the file or directory *dst *. *src * and *dst *
161
- should be strings. If * dst * specifies a directory, the file will be
162
- copied into *dst * using the base filename from * src *. Returns the
163
- path to the newly created file.
161
+ should be :term: ` path-like objects <path-like object> ` or strings. If
162
+ *dst * specifies a directory, the file will be copied into * dst * using the
163
+ base filename from * src *. Returns the path to the newly created file.
164
164
165
165
If *follow_symlinks * is false, and *src * is a symbolic link,
166
166
*dst * will be created as a symbolic link. If *follow_symlinks *
You can’t perform that action at this time.
0 commit comments