summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2008-01-16 00:32:03 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2008-01-16 00:32:03 (GMT)
commitc8acc882a92c1fe5df95ae73b7b8004737ed9222 (patch)
tree6c296b162278d474694b061e71c6b5374673f6da /Lib
parentff0f2670ff34e062e7c70af0381189e5752620a2 (diff)
downloadcpython-c8acc882a92c1fe5df95ae73b7b8004737ed9222.zip
cpython-c8acc882a92c1fe5df95ae73b7b8004737ed9222.tar.gz
cpython-c8acc882a92c1fe5df95ae73b7b8004737ed9222.tar.bz2
Docstring typos
Diffstat (limited to 'Lib')
-rw-r--r--Lib/decimal.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/decimal.py b/Lib/decimal.py
index 7e24516..e624a6d 100644
--- a/Lib/decimal.py
+++ b/Lib/decimal.py
@@ -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.