]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix incorrect parameter name (GH-22613)
authorMiss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 10 Oct 2020 04:50:23 +0000 (21:50 -0700)
committerGitHub <noreply@github.com>
Sat, 10 Oct 2020 04:50:23 +0000 (21:50 -0700)
Automerge-Triggered-By: @Mariatta
(cherry picked from commit a42759351bff7b07fa8bf2cece0088f8539721d1)

Co-authored-by: Xie Yanbo <xieyanbo@gmail.com>
Doc/library/shutil.rst

index 25b749e57b27d4d17d6eabe27def973a8454b5d3..00c7d1049e6a0bd399c739b1e5666dcc54c9fb17 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