mirror of
https://github.com/python/cpython.git
synced 2025-09-21 08:00:37 +00:00
Fix small grammatical error in a docstring.
This commit is contained in:
parent
3e41b0597b
commit
46b0802ccd
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue