]> granicus.if.org Git - python/commitdiff
Docstring typos
authorAndrew M. Kuchling <amk@amk.ca>
Wed, 16 Jan 2008 00:32:03 +0000 (00:32 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Wed, 16 Jan 2008 00:32:03 +0000 (00:32 +0000)
Lib/decimal.py

index 7e24516179190773661707f5cd2a15419c303b23..e624a6dbbec16f4be98da63d00ae1240c2adf2c8 100644 (file)
@@ -2971,7 +2971,7 @@ class Decimal(object):
     def _islogical(self):
         """Return True if self is a logical operand.
 
-        For being logical, it must be a finite numbers with a sign of 0,
+        For being logical, it must be a finite number with a sign of 0,
         an exponent of 0, and a coefficient whose digits must all be
         either 0 or 1.
         """
@@ -4089,7 +4089,7 @@ class Context(object):
         """max compares two values numerically and returns the maximum.
 
         If either operand is a NaN then the general rules apply.
-        Otherwise, the operands are compared as as though by the compare
+        Otherwise, the operands are compared as though by the compare
         operation.  If they are numerically equal then the left-hand operand
         is chosen as the result.  Otherwise the maximum (closer to positive
         infinity) of the two operands is chosen as the result.
@@ -4113,7 +4113,7 @@ class Context(object):
         """min compares two values numerically and returns the minimum.
 
         If either operand is a NaN then the general rules apply.
-        Otherwise, the operands are compared as as though by the compare
+        Otherwise, the operands are compared as though by the compare
         operation.  If they are numerically equal then the left-hand operand
         is chosen as the result.  Otherwise the minimum (closer to negative
         infinity) of the two operands is chosen as the result.