Fix incorrect parameter name (GH-22613)

Automerge-Triggered-By: @Mariatta
This commit is contained in:
Xie Yanbo 2020-10-10 10:38:43 +08:00 committed by GitHub
parent 037245c5ac
commit a42759351b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -349,7 +349,7 @@ Directory and files operations
will be created in or as *dst* and *src* will be removed. 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 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:`os.rename` cannot be used. If the source is a directory,
:func:`copytree` is called, passing it the :func:`copy_function`. The :func:`copytree` is called, passing it the :func:`copy_function`. The
default *copy_function* is :func:`copy2`. Using :func:`~shutil.copy` as the default *copy_function* is :func:`copy2`. Using :func:`~shutil.copy` as the