[Python-checkins] r73644 - in python/branches/release30-maint: Doc/tutorial/stdlib2.rst

mark.dickinson python-checkins at python.org
Sun Jun 28 23:26:22 CEST 2009


Author: mark.dickinson
Date: Sun Jun 28 23:26:22 2009
New Revision: 73644

Log:
Merged revisions 73642 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r73642 | mark.dickinson | 2009-06-28 22:24:42 +0100 (Sun, 28 Jun 2009) | 1 line
  
  Fix incorrect quote type on Decimal examples
........


Modified:
   python/branches/release30-maint/   (props changed)
   python/branches/release30-maint/Doc/tutorial/stdlib2.rst

Modified: python/branches/release30-maint/Doc/tutorial/stdlib2.rst
==============================================================================
--- python/branches/release30-maint/Doc/tutorial/stdlib2.rst	(original)
+++ python/branches/release30-maint/Doc/tutorial/stdlib2.rst	Sun Jun 28 23:26:22 2009
@@ -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')
 
 


More information about the Python-checkins mailing list