Fix ZeroDivisionError message (reported by Pavel Fedotov on docs@)

This commit is contained in:
Georg Brandl 2013-10-06 09:11:14 +02:00
parent d4b9f925ec
commit 53bf15af47
1 changed files with 1 additions and 1 deletions

View File

@ -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 ?