diff Doc/tutorial/stdlib2.rst @ 50563:93cf3a6ead63 3.0

Merged revisions 68226 via svnmerge from svn+ssh://svn.python.org/python/branches/py3k ........ r68226 | georg.brandl | 2009-01-03 22:18:54 +0100 (Sat, 03 Jan 2009) | 2 lines Remove trailing whitespace. ........
author Georg Brandl <georg@python.org>
date Sun, 04 Jan 2009 00:04:26 +0000
parents de0bf60f1245
children 3b08674b9b48
line wrap: on
line diff
--- a/Doc/tutorial/stdlib2.rst	Sun Jan 04 00:02:52 2009 +0000
+++ b/Doc/tutorial/stdlib2.rst	Sun Jan 04 00:04:26 2009 +0000
@@ -174,7 +174,7 @@
 
    class AsyncZip(threading.Thread):
        def __init__(self, infile, outfile):
-           threading.Thread.__init__(self)        
+           threading.Thread.__init__(self)
            self.infile = infile
            self.outfile = outfile
        def run(self):
@@ -358,11 +358,11 @@
 results in decimal floating point and binary floating point. The difference
 becomes significant if the results are rounded to the nearest cent::
 
-   >>> from decimal import *       
+   >>> from decimal import *
    >>> Decimal('0.70') * Decimal('1.05')
    Decimal("0.7350")
    >>> .70 * 1.05
-   0.73499999999999999       
+   0.73499999999999999
 
 The :class:`Decimal` result keeps a trailing zero, automatically inferring four
 place significance from multiplicands with two place significance.  Decimal
@@ -380,7 +380,7 @@
    >>> sum([Decimal('0.1')]*10) == Decimal('1.0')
    True
    >>> sum([0.1]*10) == 1.0
-   False      
+   False
 
 The :mod:`decimal` module provides arithmetic with as much precision as needed::