From: Andrew M. Kuchling Date: Wed, 16 Jan 2008 00:32:03 +0000 (+0000) Subject: Docstring typos X-Git-Tag: v2.6a1~595 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c8acc882a92c1fe5df95ae73b7b8004737ed9222;p=python Docstring typos --- diff --git a/Lib/decimal.py b/Lib/decimal.py index 7e24516179..e624a6dbbe 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.