diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2008-05-09 13:42:33 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2008-05-09 13:42:33 (GMT) |
commit | b27406c03e662ee33c8d5f48a7478bac93decee8 (patch) | |
tree | f768e053358fd2daab612bd59a4ed44f964ea836 /Misc/NEWS | |
parent | 97371eb1adb4375944a90c43cce75c6c3347c12d (diff) | |
download | cpython-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/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |