From 960dc3626a35ca1528459f0151c29ca1bc0a1bb5 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Tue, 21 Apr 2009 03:43:15 +0000 Subject: [PATCH] Update links and version info. --- Doc/library/decimal.rst | 2 +- Lib/decimal.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst index 89acbb894d9..8f8743c1e0b 100644 --- a/Doc/library/decimal.rst +++ b/Doc/library/decimal.rst @@ -103,7 +103,7 @@ reset them before monitoring a calculation. .. seealso:: * IBM's General Decimal Arithmetic Specification, `The General Decimal Arithmetic - Specification `_. + Specification `_. * IEEE standard 854-1987, `Unofficial IEEE 854 Text `_. diff --git a/Lib/decimal.py b/Lib/decimal.py index af29e68c2ef..aac90d7e5cb 100644 --- a/Lib/decimal.py +++ b/Lib/decimal.py @@ -17,7 +17,7 @@ This is an implementation of decimal floating point arithmetic based on the General Decimal Arithmetic Specification: - www2.hursley.ibm.com/decimal/decarith.html + http://speleotrove.com/decimal/decarith.html and IEEE standard 854-1987: @@ -130,6 +130,8 @@ 'setcontext', 'getcontext', 'localcontext' ] +__version__ = '1.70' # Highest version of the spec this complies with + import copy as _copy import math as _math import numbers as _numbers