Closed zipperer closed 2 weeks ago
I added a commit that replaces 'exists and executable' with 'exists and is executable'. The new commit is not related to the 'pointed by' -> 'pointed to by' changes from the first commit on the pull request. But the new commit does not warrant its own pull request, so I tacked it on here.
Thanks @zipperer for the PR, and @JelleZijlstra for merging it ๐ฎ๐.. I'm working now to backport this PR to: 3.12. ๐๐โ๐ค
Sorry, @zipperer and @JelleZijlstra, I could not cleanly backport this to 3.12
due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker a6b610a94bee0e4436aee2825c14f05ec2f22f75 3.12
GH-118504 is a backport of this pull request to the 3.12 branch.
Thank you, @JelleZijlstra :)
This commit uses "file pointed to by" to replace "file pointed by" in
shutil.copytree
shutil.copytree
_abc.PathBase.open
pathlib.Path.open
os.copy_file_range
os.splice
The docs use "file pointed to by" more frequently than "file pointed by". So, this commit replaces the uses of "file pointed by" in order to make the uses consistent through the docs.
yields more results than
Separately:
There are two occurrences of "tree pointed by":
xml.etree.ElementInclude.include
include
For those uses of "tree pointed by", I expect "tree pointed to by" instead. However, I found enough uses online of (a) "tree pointed by" rather than (b) "tree pointed to by" to convince me that (a) is in common use.
So, this commit does not replace those occurrences of "tree pointed by" to "tree pointed to by". But I will replace them if a reviewer believes it is correct to replace them.
๐ Documentation preview ๐: https://cpython-previews--118411.org.readthedocs.build/