mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Fix nit.
This commit is contained in:
parent
c1bd49a0dd
commit
76efa2b862
1 changed files with 2 additions and 2 deletions
|
|
@ -167,8 +167,8 @@ Some smaller changes made to the core Python language are:
|
|||
|
||||
(Contributed by Antoine Pitrou.)
|
||||
|
||||
* The :mod:`decimal.Decimal` module now supports methods to creating a
|
||||
decimal object that from a binary :class:`float`. The conversion is
|
||||
* The :mod:`decimal.Decimal` module now supports methods for creating a
|
||||
decimal object from a binary :class:`float`. The conversion is
|
||||
exact but can sometimes be surprising::
|
||||
|
||||
>>> Decimal.from_float(1.1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue