summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2008-05-09 13:42:33 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2008-05-09 13:42:33 (GMT)
commitb27406c03e662ee33c8d5f48a7478bac93decee8 (patch)
treef768e053358fd2daab612bd59a4ed44f964ea836 /Misc/NEWS
parent97371eb1adb4375944a90c43cce75c6c3347c12d (diff)
downloadcpython-b27406c03e662ee33c8d5f48a7478bac93decee8.zip
cpython-b27406c03e662ee33c8d5f48a7478bac93decee8.tar.gz
cpython-b27406c03e662ee33c8d5f48a7478bac93decee8.tar.bz2
Issue 2748: fix __ceil__, __floor__ and __round__ magic methods in
Decimal, and add tests.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index aaa6382..32d1b5d 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -18,6 +18,10 @@ Extension Modules
Library
-------
+- The Decimal module gained the magic methods __round__, __ceil__,
+ __floor__ and __trunc__, to give support for round, math.ceil,
+ math.floor and math.trunc.
+
- The user module has been removed.
- The mutex module has been removed.