summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Krah <stefan@bytereef.org>2010-05-19 15:46:39 (GMT)
committerStefan Krah <stefan@bytereef.org>2010-05-19 15:46:39 (GMT)
commit8a6f3fe3b5588da1e2803a308628ed909ea8bcfb (patch)
treec0c927802235ecae9a250ef05224beab262633bc
parent019551fa1bf95825a4c200ec2404f2d8254a4f49 (diff)
downloadcpython-8a6f3fe3b5588da1e2803a308628ed909ea8bcfb.zip
cpython-8a6f3fe3b5588da1e2803a308628ed909ea8bcfb.tar.gz
cpython-8a6f3fe3b5588da1e2803a308628ed909ea8bcfb.tar.bz2
Fix typos in docstrings.
-rw-r--r--Lib/decimal.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/decimal.py b/Lib/decimal.py
index 65d7218..a8e4f19 100644
--- a/Lib/decimal.py
+++ b/Lib/decimal.py
@@ -168,7 +168,7 @@ class DecimalException(ArithmeticError):
anything, though.
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
the explanation in _raise_error (For example,
context._raise_error(NewError, '(-x)!', self._sign) would
@@ -3807,7 +3807,7 @@ class Context(object):
If the flag is in _ignored_flags, returns the default response.
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.
"""
error = _condition_map.get(condition, condition)