8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d985c8e commit bba721dCopy full SHA for bba721d
Doc/library/shutil.rst
@@ -160,7 +160,8 @@ Directory and files operations
160
Copies the file *src* to the file or directory *dst*. *src* and *dst*
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.
+ base filename from *src*. If *dst* specifies a file that already exists,
164
+ it will be replaced. Returns the path to the newly created file.
165
166
If *follow_symlinks* is false, and *src* is a symbolic link,
167
*dst* will be created as a symbolic link. If *follow_symlinks*
0 commit comments