]> granicus.if.org Git - python/commitdiff
Issue #28306: Update exception message of ZeroDivisionError
authorBerker Peksag <berker.peksag@gmail.com>
Wed, 28 Sep 2016 19:48:57 +0000 (22:48 +0300)
committerBerker Peksag <berker.peksag@gmail.com>
Wed, 28 Sep 2016 19:48:57 +0000 (22:48 +0300)
Doc/tutorial/errors.rst

index ddb69cae998a860f2368ef26f240e3467f6832ae..6911ce9b215a47a62cf9cf8bf0cde7ef83deef5a 100644 (file)
@@ -201,7 +201,7 @@ indirectly) in the try clause. For example::
    ... except ZeroDivisionError as err:
    ...     print('Handling run-time error:', err)
    ...
-   Handling run-time error: int division or modulo by zero
+   Handling run-time error: division by zero
 
 
 .. _tut-raising: