mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Merged revisions 81352 via svnmerge from
svn+ssh://pythondev@svn.python.org/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://pythondev@svn.python.org/python/trunk ........ r81350 | stefan.krah | 2010-05-19 17:46:39 +0200 (Wed, 19 May 2010) | 1 line Fix typos in docstrings. ........ ................
This commit is contained in:
parent
a0f6dcead0
commit
395653e059
1 changed files with 2 additions and 2 deletions
|
@ -164,7 +164,7 @@ class DecimalException(ArithmeticError):
|
||||||
anything, though.
|
anything, though.
|
||||||
|
|
||||||
handle -- Called when context._raise_error is called and the
|
handle -- Called when context._raise_error is called and the
|
||||||
trap_enabler is set. First argument is self, second is the
|
trap_enabler is not set. First argument is self, second is the
|
||||||
context. More arguments can be given, those being after
|
context. More arguments can be given, those being after
|
||||||
the explanation in _raise_error (For example,
|
the explanation in _raise_error (For example,
|
||||||
context._raise_error(NewError, '(-x)!', self._sign) would
|
context._raise_error(NewError, '(-x)!', self._sign) would
|
||||||
|
@ -3858,7 +3858,7 @@ class Context(object):
|
||||||
|
|
||||||
If the flag is in _ignored_flags, returns the default response.
|
If the flag is in _ignored_flags, returns the default response.
|
||||||
Otherwise, it sets the flag, then, if the corresponding
|
Otherwise, it sets the flag, then, if the corresponding
|
||||||
trap_enabler is set, it reaises the exception. Otherwise, it returns
|
trap_enabler is set, it reraises the exception. Otherwise, it returns
|
||||||
the default value after setting the flag.
|
the default value after setting the flag.
|
||||||
"""
|
"""
|
||||||
error = _condition_map.get(condition, condition)
|
error = _condition_map.get(condition, condition)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue