]> granicus.if.org Git - python/commitdiff
Fix typos in docstrings.
authorStefan Krah <stefan@bytereef.org>
Wed, 19 May 2010 15:46:39 +0000 (15:46 +0000)
committerStefan Krah <stefan@bytereef.org>
Wed, 19 May 2010 15:46:39 +0000 (15:46 +0000)
Lib/decimal.py

index 65d72180e088ef3328c09cd3df6e00cb9a0b25c4..a8e4f19999bd6bbdc89b3a8bae687b3737d6faaa 100644 (file)
@@ -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)