cpython: 221638ba5d2a (original) (raw)

Mercurial > cpython

changeset 73091:221638ba5d2a

Issue #13248, issue #8540: Remove deprecated Context._clamp attribute from Decimal module. [#13248]

Mark Dickinson mdickinson@enthought.com
date Mon, 24 Oct 2011 10:31:52 +0100
parents 4eb65a7f2fbe
children b82e68cf3b0d
files Lib/decimal.py Lib/test/test_decimal.py Misc/NEWS
diffstat 3 files changed, 5 insertions(+), 34 deletions(-)[+] [-] Lib/decimal.py 22 Lib/test/test_decimal.py 15 Misc/NEWS 2

line wrap: on

line diff

--- a/Lib/decimal.py +++ b/Lib/decimal.py @@ -3903,28 +3903,6 @@ class Context(object): return nc copy = copy

-

-

- def _raise_error(self, condition, explanation = None, *args): """Handles an error

--- a/Lib/test/test_decimal.py +++ b/Lib/test/test_decimal.py @@ -1834,18 +1834,9 @@ class ContextAPItests(unittest.TestCase) # only, the attribute should be gettable/settable via both # clamp and _clamp; in Python 3.3, _clamp should be # removed.

-

def test_abs(self): c = Context()

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -338,6 +338,8 @@ Core and Builtins Library ------- +- Issue #8540: Remove deprecated Context._clamp attribute in Decimal module. +