mirror of https://github.com/python/cpython
Add Misc/NEWS entry for r79609.
This commit is contained in:
parent
4dbda8593d
commit
8a95071fc1
|
@ -47,6 +47,12 @@ Core and Builtins
|
|||
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')
|
||||
|
||||
- collections.Counter() now supports a subtract() method.
|
||||
|
||||
- Issue #8294: The Fraction constructor now accepts Decimal and float
|
||||
|
|
Loading…
Reference in New Issue