]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42589: Change URL for 'from' link when used in a raised exception (GH-23872)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 29 Apr 2021 18:26:26 +0000 (11:26 -0700)
committerGitHub <noreply@github.com>
Thu, 29 Apr 2021 18:26:26 +0000 (11:26 -0700)
commit3eaa6f9d185f2a2c66d98a77d3ea3f407bc96d0e
tree72f8fcf688d8a599b2f44cb088dc672d16bd313a
parent491fde0161d5e527eeff8586dd3972d7d3a631a7
bpo-42589: Change URL for 'from' link when used in a raised exception (GH-23872)

Links for 'raise Exception from x' target to 'The raise statement' (7.8) section instead of 'The import statement' (7.11) section.

There are more modified links than in the bug report because I searched some other ones which can get the same improvement.
(cherry picked from commit 2fd928c8c1328424130cb9c51fc02ad5f9a66328)

Co-authored-by: sblondon <sblondon@users.noreply.github.com>
Doc/library/exceptions.rst
Doc/tutorial/errors.rst