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

terryjreedy webhook-mailer at python.org
Fri Feb 12 23:57:18 EST 2021


https://github.com/python/cpython/commit/762fe7deed34a1d5294bf82071d318c8427b4893
commit: 762fe7deed34a1d5294bf82071d318c8427b4893
branch: master
author: Zackery Spytz <zspytz at gmail.com>
committer: terryjreedy <tjreedy at udel.edu>
date: 2021-02-12T23:57:12-05:00
summary:

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


Co-authored-by: Terry Jan Reedy <tjreedy at udel.edu>

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