summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-04-03 15:47:46 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-04-03 15:47:46 (GMT)
commit8a95071fc1ef3dabb0b0f090f09749a12ef6b620 (patch)
tree51919dd89bca90439b29e1c620503c0950d1f695
parent4dbda8593d385f0a42ebd6844f59a2f741c955c4 (diff)
downloadcpython-8a95071fc1ef3dabb0b0f090f09749a12ef6b620.zip
cpython-8a95071fc1ef3dabb0b0f090f09749a12ef6b620.tar.gz
cpython-8a95071fc1ef3dabb0b0f090f09749a12ef6b620.tar.bz2
Add Misc/NEWS entry for r79609.
-rw-r--r--Misc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 1f715b9..e942fb7 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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