Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 53bf15a

Browse files
committed
Fix ZeroDivisionError message (reported by Pavel Fedotov on docs@)
1 parent d4b9f92 commit 53bf15a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/tutorial/errors.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ programs, however, and result in error messages as shown here::
4545
>>> 10 * (1/0)
4646
Traceback (most recent call last):
4747
File "<stdin>", line 1, in ?
48-
ZeroDivisionError: int division or modulo by zero
48+
ZeroDivisionError: division by zero
4949
>>> 4 + spam*3
5050
Traceback (most recent call last):
5151
File "<stdin>", line 1, in ?

0 commit comments

Comments
 (0)