Fix small grammatical error in a docstring.
This commit is contained in:
parent
3e41b0597b
commit
46b0802ccd
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue