summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-06-28 21:24:42 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-06-28 21:24:42 (GMT)
commit2c02bdc8a6f108e2eabaa0b33e049da3e227fc98 (patch)
treeab736a479d2a9e9e144e2bd238552157800b087e
parentaf15f3c0849970bd82241167df69fd94c7199988 (diff)
downloadcpython-2c02bdc8a6f108e2eabaa0b33e049da3e227fc98.zip
cpython-2c02bdc8a6f108e2eabaa0b33e049da3e227fc98.tar.gz
cpython-2c02bdc8a6f108e2eabaa0b33e049da3e227fc98.tar.bz2
Fix incorrect quote type on Decimal examples
-rw-r--r--Doc/tutorial/stdlib2.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tutorial/stdlib2.rst b/Doc/tutorial/stdlib2.rst
index d17b031..938430f 100644
--- a/Doc/tutorial/stdlib2.rst
+++ b/Doc/tutorial/stdlib2.rst
@@ -373,7 +373,7 @@ Exact representation enables the :class:`Decimal` class to perform modulo
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 @@ The :mod:`decimal` module provides arithmetic with as much precision as needed::
>>> getcontext().prec = 36
>>> Decimal(1) / Decimal(7)
- Decimal("0.142857142857142857142857142857142857")
+ Decimal('0.142857142857142857142857142857142857')