Mercurial > cpython-lru_cache-weakref
diff Doc/tutorial/stdlib2.rst @ 54944:dcf7121edb2e 2.6
Merged revisions 73653 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73653 | mark.dickinson | 2009-06-28 22:48:15 +0100 (Sun, 28 Jun 2009) | 1 line
More Decimal quote fixing; backport of r73642
........
| author | Mark Dickinson <dickinsm@gmail.com> |
|---|---|
| date | Sun, 28 Jun 2009 21:56:07 +0000 |
| parents | ee9ced92843a |
| children | 9b24d010133f |
line wrap: on
line diff
--- a/Doc/tutorial/stdlib2.rst Sun Jun 28 09:35:10 2009 +0000 +++ b/Doc/tutorial/stdlib2.rst Sun Jun 28 21:56:07 2009 +0000 @@ -360,7 +360,7 @@ >>> from decimal import * >>> Decimal('0.70') * Decimal('1.05') - Decimal("0.7350") + Decimal('0.7350') >>> .70 * 1.05 0.73499999999999999 @@ -373,7 +373,7 @@ calculations and equality tests that are unsuitable for binary floating point:: >>> Decimal('1.00') % Decimal('.10') - Decimal("0.00") + Decimal('0.00') >>> 1.00 % 0.10 0.09999999999999995 @@ -386,6 +386,6 @@ >>> getcontext().prec = 36 >>> Decimal(1) / Decimal(7) - Decimal("0.142857142857142857142857142857142857") + Decimal('0.142857142857142857142857142857142857')
