diff Doc/tutorial/errors.rst @ 85992:32689671a881 3.3

Fix ZeroDivisionError message (reported by Pavel Fedotov on docs@)
author Georg Brandl <georg@python.org>
date Sun, 06 Oct 2013 09:11:14 +0200
parents fed7306f26ce
children
line wrap: on
line diff
--- a/Doc/tutorial/errors.rst	Sat Oct 05 22:11:16 2013 -0700
+++ b/Doc/tutorial/errors.rst	Sun Oct 06 09:11:14 2013 +0200
@@ -45,7 +45,7 @@
    >>> 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 ?