python / cpython

The Python programming language
https://www.python.org/
Other
60.06k stars 29.09k forks source link

docs: typo: tiny grammar change: "pointed by" -> "pointed to by" #118411

Closed zipperer closed 2 weeks ago

zipperer commented 3 weeks ago

This commit uses "file pointed to by" to replace "file pointed by" in

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.


$ grep -ri 'pointed to by' cpython/

yields more results than

$ grep -ri 'pointed by' cpython/

Separately:

There are two occurrences of "tree pointed by":

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/

cpython-cla-bot[bot] commented 3 weeks ago

All commit authors signed the Contributor License Agreement.
CLA signed

zipperer commented 3 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.

miss-islington-app[bot] commented 2 weeks ago

Thanks @zipperer for the PR, and @JelleZijlstra for merging it ๐ŸŒฎ๐ŸŽ‰.. I'm working now to backport this PR to: 3.12. ๐Ÿ๐Ÿ’โ›๐Ÿค–

miss-islington-app[bot] commented 2 weeks ago

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
bedevere-app[bot] commented 2 weeks ago

GH-118504 is a backport of this pull request to the 3.12 branch.

zipperer commented 2 weeks ago

Thank you, @JelleZijlstra :)