]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] Improve cross-references in `runpy` docs (GH-107673) (#107699)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 6 Aug 2023 21:20:24 +0000 (14:20 -0700)
committerGitHub <noreply@github.com>
Sun, 6 Aug 2023 21:20:24 +0000 (21:20 +0000)
commit1878419ed86fdfa32f5bcc0d79139e46d91f9545
treeb74d0c9ee43d316f409f39050bc0db0483adf5b1
parent2345a8fb0c8e660e2e3d63697e16433a312fce58
[3.11] Improve cross-references in `runpy` docs (GH-107673) (#107699)

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