]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-43200: Fix link to shutil.copy() in the shutil doc (GH-24505)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 13 Feb 2021 05:06:50 +0000 (21:06 -0800)
committerGitHub <noreply@github.com>
Sat, 13 Feb 2021 05:06:50 +0000 (21:06 -0800)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(cherry picked from commit 762fe7deed34a1d5294bf82071d318c8427b4893)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Doc/library/shutil.rst

index 578fcc6e293d9c9b9e3d30069eb134c2544cc79a..cd925a92a53f96af9efe069d09381b83d2f55c42 100644 (file)
@@ -440,8 +440,9 @@ Directory and files operations
 Platform-dependent efficient copy operations
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-Starting from Python 3.8 all functions involving a file copy (:func:`copyfile`,
-:func:`copy`, :func:`copy2`, :func:`copytree`, and :func:`move`) may use
+Starting from Python 3.8, all functions involving a file copy
+(:func:`copyfile`, :func:`~shutil.copy`, :func:`copy2`,
+:func:`copytree`, and :func:`move`) may use
 platform-specific "fast-copy" syscalls in order to copy the file more
 efficiently (see :issue:`33671`).
 "fast-copy" means that the copying operation occurs within the kernel, avoiding