Skip to content

Commit a427593

Browse files
authored
Fix incorrect parameter name (GH-22613)
Automerge-Triggered-By: @Mariatta
1 parent 037245c commit a427593

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/shutil.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ Directory and files operations
349349
will be created in or as *dst* and *src* will be removed.
350350

351351
If *copy_function* is given, it must be a callable that takes two arguments
352-
*src* and *dst*, and will be used to copy *src* to *dest* if
352+
*src* and *dst*, and will be used to copy *src* to *dst* if
353353
:func:`os.rename` cannot be used. If the source is a directory,
354354
:func:`copytree` is called, passing it the :func:`copy_function`. The
355355
default *copy_function* is :func:`copy2`. Using :func:`~shutil.copy` as the

0 commit comments

Comments
 (0)