mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Merged revisions 79699 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r79699 | mark.dickinson | 2010-04-03 16:47:46 +0100 (Sat, 03 Apr 2010) | 1 line Add Misc/NEWS entry for r79609. ........
This commit is contained in:
parent
2266f3db40
commit
089b00cbc3
1 changed files with 6 additions and 0 deletions
|
@ -301,6 +301,12 @@ C-API
|
|||
Library
|
||||
-------
|
||||
|
||||
- Issue #8257: The Decimal construct now accepts a float instance
|
||||
directly, converting that float to a Decimal of equal value:
|
||||
|
||||
>>> Decimal(1.1)
|
||||
Decimal('1.100000000000000088817841970012523233890533447265625')
|
||||
|
||||
- Issue #8294: The Fraction constructor now accepts Decimal and float
|
||||
instances directly.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue