summaryrefslogtreecommitdiffstats
path: root/Doc/library/shutil.rst
diff options
context:
space:
mode:
authorXie Yanbo <xieyanbo@gmail.com>2020-10-10 02:38:43 (GMT)
committerGitHub <noreply@github.com>2020-10-10 02:38:43 (GMT)
commita42759351bff7b07fa8bf2cece0088f8539721d1 (patch)
treea4dc1960938a89df747a2b3ff7fca71157e8bb26 /Doc/library/shutil.rst
parent037245c5ac46c3436f617a1f5d965929754be239 (diff)
downloadcpython-a42759351bff7b07fa8bf2cece0088f8539721d1.zip
cpython-a42759351bff7b07fa8bf2cece0088f8539721d1.tar.gz
cpython-a42759351bff7b07fa8bf2cece0088f8539721d1.tar.bz2
Fix incorrect parameter name (GH-22613)
Automerge-Triggered-By: @Mariatta
Diffstat (limited to 'Doc/library/shutil.rst')
-rw-r--r--Doc/library/shutil.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst
index ecc3309..3f51227 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