From: Miss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 10 Oct 2020 04:50:23 +0000 (-0700) Subject: Fix incorrect parameter name (GH-22613) X-Git-Tag: v3.8.7rc1~123 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ae485f5240daee76650935d78733fa558d1638f0;p=thirdparty%2FPython%2Fcpython.git Fix incorrect parameter name (GH-22613) Automerge-Triggered-By: @Mariatta (cherry picked from commit a42759351bff7b07fa8bf2cece0088f8539721d1) Co-authored-by: Xie Yanbo --- diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst index 25b749e57b27..00c7d1049e6a 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