New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-43200: Fix a link to shutil.copy() in the shutil module docs #24505
bpo-43200: Fix a link to shutil.copy() in the shutil module docs #24505
Conversation
A link generated for the copy() function was linking to the copy module. It should link to the shutil.copy() function instead. Use reST markup to ensure the other functions in the sentence also link to shutil functions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With only a couple of exception, this doc only uses '~shutil' when needed, for 'copy', so I removed the ones not needed. I check and there are no other instances "copy
" to fix in this file.
Thanks @ZackerySpytz for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8, 3.9. |
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 762fe7d) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
GH-24523 is a backport of this pull request to the 3.9 branch. |
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 762fe7d) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
GH-24524 is a backport of this pull request to the 3.8 branch. |
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
A link generated for the copy() function was linking to the copy
module. It should link to the shutil.copy() function instead.
Use reST markup to ensure the other functions in the sentence also
link to shutil functions.
https://bugs.python.org/issue43200