]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Fix a typo in ``Doc/tutorial/errors.rst`` exception output (GH-126001) (#126009)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 26 Oct 2024 15:32:37 +0000 (17:32 +0200)
committerGitHub <noreply@github.com>
Sat, 26 Oct 2024 15:32:37 +0000 (15:32 +0000)
Fix a typo in ``Doc/tutorial/errors.rst`` exception output (GH-126001)
(cherry picked from commit a78d5b32429e2399178ac838e0e62b2bd62c0af9)

Co-authored-by: Bogdana Vereha <bogdanap@github.com>
Doc/tutorial/errors.rst

index 24fa01428fd0c081581fe4e0164229edc1446deb..4c61cbb2b5bc3dfa611d905c940e06623b4a6877 100644 (file)
@@ -464,7 +464,7 @@ A more complicated example::
    executing finally clause
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
-       divide("2", "0")
+       divide("2", "1")
        ~~~~~~^^^^^^^^^^
      File "<stdin>", line 3, in divide
        result = x / y