summaryrefslogtreecommitdiffstats
path: root/Lib/decimal.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-04-21 03:43:15 (GMT)
committerRaymond Hettinger <python@rcn.com>2009-04-21 03:43:15 (GMT)
commit960dc3626a35ca1528459f0151c29ca1bc0a1bb5 (patch)
tree03ef179e2df4e472ef796b2f695c1322cab24d1a /Lib/decimal.py
parent9b8d069b319feb18b8ae91e26533af46a69be997 (diff)
downloadcpython-960dc3626a35ca1528459f0151c29ca1bc0a1bb5.zip
cpython-960dc3626a35ca1528459f0151c29ca1bc0a1bb5.tar.gz
cpython-960dc3626a35ca1528459f0151c29ca1bc0a1bb5.tar.bz2
Update links and version info.
Diffstat (limited to 'Lib/decimal.py')
-rw-r--r--Lib/decimal.py4
1 files changed, 3 insertions, 1 deletions
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