]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix a typo in ``Doc/tutorial/errors.rst`` exception output (#126001)
authorBogdana Vereha <bogdanap@github.com>
Sat, 26 Oct 2024 15:26:35 +0000 (17:26 +0200)
committerGitHub <noreply@github.com>
Sat, 26 Oct 2024 15:26:35 +0000 (18:26 +0300)
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