[Python-checkins] r71782 - in python/branches/py3k: Doc/library/decimal.rst Lib/decimal.py
raymond.hettinger
python-checkins at python.org
Tue Apr 21 05:43:15 CEST 2009
Author: raymond.hettinger
Date: Tue Apr 21 05:43:15 2009
New Revision: 71782
Log:
Update links and version info.
Modified:
python/branches/py3k/Doc/library/decimal.rst
python/branches/py3k/Lib/decimal.py
Modified: python/branches/py3k/Doc/library/decimal.rst
==============================================================================
--- python/branches/py3k/Doc/library/decimal.rst (original)
+++ python/branches/py3k/Doc/library/decimal.rst Tue Apr 21 05:43:15 2009
@@ -103,7 +103,7 @@
.. 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>`_.
Modified: python/branches/py3k/Lib/decimal.py
==============================================================================
--- python/branches/py3k/Lib/decimal.py (original)
+++ python/branches/py3k/Lib/decimal.py Tue Apr 21 05:43:15 2009
@@ -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
More information about the Python-checkins
mailing list