diff options
author | Xie Yanbo <xieyanbo@gmail.com> | 2020-10-15 17:25:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-15 17:25:28 (GMT) |
commit | b30934e9afb0af3f8e2e5f0992445be775b3c630 (patch) | |
tree | 32f667cb3bad26d835e9707c1c3680b36bc95a5c | |
parent | 78723b378b2529dd79f6754a514681e4920aef3e (diff) | |
download | cpython-b30934e9afb0af3f8e2e5f0992445be775b3c630.zip cpython-b30934e9afb0af3f8e2e5f0992445be775b3c630.tar.gz cpython-b30934e9afb0af3f8e2e5f0992445be775b3c630.tar.bz2 |
[3.9] Fix incorrect parameter name (GH-22613) (GH-22628)
Automerge-Triggered-By: @Mariatta
(cherry picked from commit a42759351bff7b07fa8bf2cece0088f8539721d1)
Co-authored-by: Xie Yanbo <xieyanbo@gmail.com>
-rw-r--r-- | Doc/library/shutil.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst index 1b094ae..fd3ce74 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 |