]> granicus.if.org Git - python/commitdiff
Fix ZeroDivisionError message (reported by Pavel Fedotov on docs@)
authorGeorg Brandl <georg@python.org>
Sun, 6 Oct 2013 07:11:14 +0000 (09:11 +0200)
committerGeorg Brandl <georg@python.org>
Sun, 6 Oct 2013 07:11:14 +0000 (09:11 +0200)
Doc/tutorial/errors.rst

index 2b76c32da0ff449a36630e38d5a6770205d196ad..4282151589a0d0b44a851e4c39116649142fa5ab 100644 (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 ?