mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +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))
|
||||
|
||||
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._isnan():
|
||||
context = getcontext()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue