Fix small grammatical error in a docstring.

This commit is contained in:
Brett Cannon 2005-03-01 03:12:26 +00:00
parent 3e41b0597b
commit 46b0802ccd
1 changed files with 1 additions and 1 deletions

View File

@ -1414,7 +1414,7 @@ class Decimal(object):
return float(str(self)) return float(str(self))
def __int__(self): def __int__(self):
"""Converts self to a int, truncating if necessary.""" """Converts self to an int, truncating if necessary."""
if self._is_special: if self._is_special:
if self._isnan(): if self._isnan():
context = getcontext() context = getcontext()