Uh oh!
There was an error while loading. Please reload this page.
Improve cross-references in runpy docs - #107673
Conversation
AA-Turner
left a comment
There was a problem hiding this comment.
Thanks for this PR! Some comments:
A
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
sys.path in Doc/library/runpy.rstkamilturek
commented
Aug 6, 2023
@AA-Turner Thanks for the review. I addressed your comments. |
AlexWaygood
left a comment
There was a problem hiding this comment.
Even better than adding backticks would be to link to the docs for sys.path!
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
kamilturek
commented
Aug 6, 2023
@AlexWaygood I saw that the other already existing |
AA-Turner
commented
Aug 6, 2023
Ahh, should've thought of that! Thanks for spotting this :) A |
sys.path in Doc/library/runpy.rstsys.path in Doc/library/runpy.rstUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
sys.path in Doc/library/runpy.rstrunpy docskamilturek
commented
Aug 6, 2023
@AlexWaygood Thanks for all the help! |
miss-islington
commented
Aug 6, 2023
Thanks @kamilturek for the PR, and @AlexWaygood for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
bedevere-bot
commented
Aug 6, 2023
GH-107698 is a backport of this pull request to the 3.12 branch. |
- Add links to `__main__` and `sys.path` where appropriate - Ensure each paragraph never has more than one link to the same thing, to avoid visual clutter from too many links (cherry picked from commit 4e242d1) Co-authored-by: Kamil Turek <kamil.turek@hotmail.com>
bedevere-bot
commented
Aug 6, 2023
GH-107699 is a backport of this pull request to the 3.11 branch. |
- Add links to `__main__` and `sys.path` where appropriate - Ensure each paragraph never has more than one link to the same thing, to avoid visual clutter from too many links (cherry picked from commit 4e242d1) Co-authored-by: Kamil Turek <kamil.turek@hotmail.com>
Improve cross-references in `runpy` docs (GH-107673) - Add links to `__main__` and `sys.path` where appropriate - Ensure each paragraph never has more than one link to the same thing, to avoid visual clutter from too many links (cherry picked from commit 4e242d1) Co-authored-by: Kamil Turek <kamil.turek@hotmail.com>
Improve cross-references in `runpy` docs (GH-107673) - Add links to `__main__` and `sys.path` where appropriate - Ensure each paragraph never has more than one link to the same thing, to avoid visual clutter from too many links (cherry picked from commit 4e242d1) Co-authored-by: Kamil Turek <kamil.turek@hotmail.com>
- Add links to `__main__` and `sys.path` where appropriate - Ensure each paragraph never has more than one link to the same thing, to avoid visual clutter from too many links
sys.pathin a few places.Lowercased text in parentheses.📚 Documentation preview 📚: https://cpython-previews--107673.org.readthedocs.build/