]> granicus.if.org Git - python/commitdiff
Update links and version info.
authorRaymond Hettinger <python@rcn.com>
Tue, 21 Apr 2009 03:43:15 +0000 (03:43 +0000)
committerRaymond Hettinger <python@rcn.com>
Tue, 21 Apr 2009 03:43:15 +0000 (03:43 +0000)
Doc/library/decimal.rst
Lib/decimal.py

index 89acbb894d9139e48d712c05047ec2287008c00f..8f8743c1e0b0b494d61e3e4cfbbf8ed8be2d499f 100644 (file)
@@ -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>`_.
index af29e68c2efcd92723632728cea491ab3836a33e..aac90d7e5cb298a4c025d6adf9eb7c7a0c4131ad 100644 (file)
@@ -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