diff options
-rw-r--r-- | Doc/library/decimal.rst | 2 | ||||
-rw-r--r-- | Lib/decimal.py | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst index 89acbb8..8f8743c1 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 <http://www2.hursley.ibm.com/decimal/decarith.html>`_. + Specification <http://speleotrove.com/decimal/decarith.html>`_. * IEEE standard 854-1987, `Unofficial IEEE 854 Text <http://754r.ucbtest.org/standards/854.pdf>`_. diff --git a/Lib/decimal.py b/Lib/decimal.py index af29e68..aac90d7 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 @@ __all__ = [ '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 |