summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial/errors.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-10-06 07:11:14 (GMT)
committerGeorg Brandl <georg@python.org>2013-10-06 07:11:14 (GMT)
commit53bf15af476756190a28193ae41155eadc2b1e9e (patch)
tree6de9474a870f2db1b32730e6403c87b51ca48108 /Doc/tutorial/errors.rst
parentd4b9f925eca4fac5fed7baf7a15ff56afa3bf3d0 (diff)
downloadcpython-53bf15af476756190a28193ae41155eadc2b1e9e.zip
cpython-53bf15af476756190a28193ae41155eadc2b1e9e.tar.gz
cpython-53bf15af476756190a28193ae41155eadc2b1e9e.tar.bz2
Fix ZeroDivisionError message (reported by Pavel Fedotov on docs@)
Diffstat (limited to 'Doc/tutorial/errors.rst')
-rw-r--r--Doc/tutorial/errors.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/errors.rst b/Doc/tutorial/errors.rst
index 2b76c32..4282151 100644
--- a/Doc/tutorial/errors.rst
+++ b/Doc/tutorial/errors.rst
@@ -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 ?