]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix incorrect parameter name (GH-22613)
authorXie Yanbo <xieyanbo@gmail.com>
Sat, 10 Oct 2020 02:38:43 +0000 (10:38 +0800)
committerGitHub <noreply@github.com>
Sat, 10 Oct 2020 02:38:43 +0000 (19:38 -0700)
Automerge-Triggered-By: @Mariatta
Doc/library/shutil.rst

index ecc3309ed5cc09ee8a71e07322f25b940338a74b..3f5122760ee16f116adea666f3908375a395a3d9 100644 (file)
@@ -349,7 +349,7 @@ Directory and files operations
    will be created in or as *dst* and *src* will be removed.
 
    If *copy_function* is given, it must be a callable that takes two arguments
-   *src* and *dst*, and will be used to copy *src* to *dest* if
+   *src* and *dst*, and will be used to copy *src* to *dst* if
    :func:`os.rename` cannot be used.  If the source is a directory,
    :func:`copytree` is called, passing it the :func:`copy_function`. The
    default *copy_function* is :func:`copy2`.  Using :func:`~shutil.copy` as the