Skip to content
Snippets Groups Projects
Unverified Commit cafcb2cd authored by Miss Islington (bot)'s avatar Miss Islington (bot) Committed by GitHub
Browse files

gh-84714: Add behavior if dst file exists (GH-91867)


(cherry picked from commit 9166ace8)

Co-authored-by: default avatarslateny <46876382+slateny@users.noreply.github.com>
parent 28cd98f3
No related branches found
No related tags found
No related merge requests found
......@@ -160,7 +160,8 @@ Directory and files operations
Copies the file *src* to the file or directory *dst*. *src* and *dst*
should be :term:`path-like objects <path-like object>` or strings. If
*dst* specifies a directory, the file will be copied into *dst* using the
base filename from *src*. Returns the path to the newly created file.
base filename from *src*. If *dst* specifies a file that already exists,
it will be replaced. Returns the path to the newly created file.
If *follow_symlinks* is false, and *src* is a symbolic link,
*dst* will be created as a symbolic link. If *follow_symlinks*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment