[Python-checkins] bpo-43200: Fix link to shutil.copy() in the shutil doc (GH-24505)

terryjreedy webhook-mailer at python.org
Sat Feb 13 00:20:31 EST 2021


https://github.com/python/cpython/commit/242f6c9ffe3dd8f613942d5364b816cc89c384be
commit: 242f6c9ffe3dd8f613942d5364b816cc89c384be
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: terryjreedy <tjreedy at udel.edu>
date: 2021-02-13T00:20:24-05:00
summary:

bpo-43200: Fix link to shutil.copy() in the shutil doc (GH-24505)

Co-authored-by: Zackery Spytz <zspytz at gmail.com>
Co-authored-by: Terry Jan Reedy <tjreedy at udel.edu>
(cherry picked from commit 762fe7deed34a1d5294bf82071d318c8427b4893)

files:
M Doc/library/shutil.rst

diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst
index 435787c27661d..d5080da15bba4 100644
--- a/Doc/library/shutil.rst
+++ b/Doc/library/shutil.rst
@@ -443,8 +443,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



More information about the Python-checkins mailing list