]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] Improve cross-references in `runpy` docs (GH-107673) (#107698)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 6 Aug 2023 22:48:48 +0000 (15:48 -0700)
committerGitHub <noreply@github.com>
Sun, 6 Aug 2023 22:48:48 +0000 (00:48 +0200)
commitab1988d5a6797a35a9d81e840a73b2e988da6dcc
treef484c6bd37c09c63dfaf34557b2ae9dc6a06ff73
parente94548479aaa46e0624da98f8f6b48904860ee73
[3.12] Improve cross-references in `runpy` docs (GH-107673) (#107698)

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 4e242d1ffb2d165443fe2680f7d1fef9fecbcfc0)

Co-authored-by: Kamil Turek <kamil.turek@hotmail.com>
Doc/library/runpy.rst