[Python-checkins] cpython (3.5): Issue #28306: Update exception message of ZeroDivisionError

berker.peksag python-checkins at python.org
Wed Sep 28 15:47:49 EDT 2016


https://hg.python.org/cpython/rev/f60396d8f95c
changeset: 104138:f60396d8f95c
branch: 3.5
parent: 104135:ee76e84f115f
user: Berker Peksag <berker.peksag at gmail.com>
date: Wed Sep 28 22:48:57 2016 +0300
summary:
 Issue #28306: Update exception message of ZeroDivisionError
files:
 Doc/tutorial/errors.rst | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/tutorial/errors.rst b/Doc/tutorial/errors.rst
--- a/Doc/tutorial/errors.rst
+++ b/Doc/tutorial/errors.rst
@@ -201,7 +201,7 @@
 ... except ZeroDivisionError as err:
 ... print('Handling run-time error:', err)
 ...
- Handling run-time error: int division or modulo by zero
+ Handling run-time error: division by zero
 
 
 .. _tut-raising:
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /