[Python-checkins] Fix incorrect parameter name (GH-22613)

Xie Yanbo webhook-mailer at python.org
Fri Oct 9 22:38:50 EDT 2020


https://github.com/python/cpython/commit/a42759351bff7b07fa8bf2cece0088f8539721d1
commit: a42759351bff7b07fa8bf2cece0088f8539721d1
branch: master
author: Xie Yanbo <xieyanbo at gmail.com>
committer: GitHub <noreply at github.com>
date: 2020-10-09T19:38:43-07:00
summary:

Fix incorrect parameter name (GH-22613)



Automerge-Triggered-By: @Mariatta

files:
M Doc/library/shutil.rst

diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst
index ecc3309ed5cc0..3f5122760ee16 100644
--- a/Doc/library/shutil.rst
+++ b/Doc/library/shutil.rst
@@ -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



More information about the Python-checkins mailing list