mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Fix ZeroDivisionError message (reported by Pavel Fedotov on docs@)
This commit is contained in:
parent
d4b9f925ec
commit
53bf15af47
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ programs, however, and result in error messages as shown here::
|
|||
>>> 10 * (1/0)
|
||||
Traceback (most recent call last):
|
||||
File "<stdin>", line 1, in ?
|
||||
ZeroDivisionError: int division or modulo by zero
|
||||
ZeroDivisionError: division by zero
|
||||
>>> 4 + spam*3
|
||||
Traceback (most recent call last):
|
||||
File "<stdin>", line 1, in ?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue