diff options
author | sblondon <sblondon@users.noreply.github.com> | 2021-04-29 18:02:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-29 18:02:40 (GMT) |
commit | 2fd928c8c1328424130cb9c51fc02ad5f9a66328 (patch) | |
tree | 4ba7efccb2f20f1d7ff2e813a8a33dc2c1e273d5 /Doc/tutorial | |
parent | 76cd81d60310d65d01f9d7b48a8985d8ab89c8b4 (diff) | |
download | cpython-2fd928c8c1328424130cb9c51fc02ad5f9a66328.zip cpython-2fd928c8c1328424130cb9c51fc02ad5f9a66328.tar.gz cpython-2fd928c8c1328424130cb9c51fc02ad5f9a66328.tar.bz2 |
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.
Diffstat (limited to 'Doc/tutorial')
-rw-r--r-- | Doc/tutorial/errors.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/errors.rst b/Doc/tutorial/errors.rst index fd0477f..25bb4fc 100644 --- a/Doc/tutorial/errors.rst +++ b/Doc/tutorial/errors.rst @@ -272,7 +272,7 @@ re-raise the exception:: Exception Chaining ================== -The :keyword:`raise` statement allows an optional :keyword:`from` which enables +The :keyword:`raise` statement allows an optional :keyword:`from<raise>` which enables chaining exceptions. For example:: # exc must be exception instance or None. |