Commit 8a6f3fe3 authored by Stefan Krah's avatar Stefan Krah

Fix typos in docstrings.

parent 019551fa
...@@ -168,7 +168,7 @@ class DecimalException(ArithmeticError): ...@@ -168,7 +168,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
...@@ -3807,7 +3807,7 @@ class Context(object): ...@@ -3807,7 +3807,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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment