summaryrefslogtreecommitdiff
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorsblondon <sblondon@users.noreply.github.com>2021-04-29 20:02:40 +0200
committerGitHub <noreply@github.com>2021-04-29 11:02:40 -0700
commit2fd928c8c1328424130cb9c51fc02ad5f9a66328 (patch)
tree4ba7efccb2f20f1d7ff2e813a8a33dc2c1e273d5 /Doc/tutorial
parent76cd81d60310d65d01f9d7b48a8985d8ab89c8b4 (diff)
downloadcpython-git-2fd928c8c1328424130cb9c51fc02ad5f9a66328.tar.gz
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.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/errors.rst b/Doc/tutorial/errors.rst
index fd0477f078..25bb4fc567 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.