mirror of
https://github.com/python/cpython
synced 2024-09-18 20:01:39 +00:00
Issue #28306: Update exception message of ZeroDivisionError
This commit is contained in:
parent
ab39b09958
commit
cf79cdb79d
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue