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