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

Skip to content

Commit 395653e

Browse files
committed
Merged revisions 81352 via svnmerge from
svn+ssh://[email protected]/python/branches/py3k ................ r81352 | stefan.krah | 2010-05-19 17:52:31 +0200 (Wed, 19 May 2010) | 9 lines Merged revisions 81350 via svnmerge from svn+ssh://[email protected]/python/trunk ........ r81350 | stefan.krah | 2010-05-19 17:46:39 +0200 (Wed, 19 May 2010) | 1 line Fix typos in docstrings. ........ ................
1 parent a0f6dce commit 395653e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/decimal.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ class DecimalException(ArithmeticError):
164164
anything, though.
165165
166166
handle -- Called when context._raise_error is called and the
167-
trap_enabler is set. First argument is self, second is the
167+
trap_enabler is not set. First argument is self, second is the
168168
context. More arguments can be given, those being after
169169
the explanation in _raise_error (For example,
170170
context._raise_error(NewError, '(-x)!', self._sign) would
@@ -3858,7 +3858,7 @@ def _raise_error(self, condition, explanation = None, *args):
38583858
38593859
If the flag is in _ignored_flags, returns the default response.
38603860
Otherwise, it sets the flag, then, if the corresponding
3861-
trap_enabler is set, it reaises the exception. Otherwise, it returns
3861+
trap_enabler is set, it reraises the exception. Otherwise, it returns
38623862
the default value after setting the flag.
38633863
"""
38643864
error = _condition_map.get(condition, condition)

0 commit comments

Comments
 (0)