From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 13 Feb 2021 05:06:50 +0000 (-0800) Subject: bpo-43200: Fix link to shutil.copy() in the shutil doc (GH-24505) X-Git-Tag: v3.8.8rc1~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4230bd52e3f9f289f02e41ab17a95f50ed4db5a6;p=thirdparty%2FPython%2Fcpython.git bpo-43200: Fix link to shutil.copy() in the shutil doc (GH-24505) Co-authored-by: Terry Jan Reedy (cherry picked from commit 762fe7deed34a1d5294bf82071d318c8427b4893) Co-authored-by: Zackery Spytz --- diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst index 578fcc6e293d..cd925a92a53f 100644 --- a/Doc/library/shutil.rst +++ b/Doc/library/shutil.rst @@ -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