]> granicus.if.org Git - python/commitdiff
Fix indentation.
authorGeorg Brandl <georg@python.org>
Thu, 24 Jul 2008 07:09:21 +0000 (07:09 +0000)
committerGeorg Brandl <georg@python.org>
Thu, 24 Jul 2008 07:09:21 +0000 (07:09 +0000)
Doc/library/2to3.rst

index 38d01dcb7475fc4cd36aa352a6d6e9125e909d5e..ee7666d6124309682b9a94b33a6759550eb70017 100644 (file)
@@ -1,4 +1,3 @@
-
 .. _2to3-reference:
 
 2to3 - Automated Python 2 to 3 code translation
@@ -19,7 +18,7 @@ traverse looking for files with the ``.py`` extension.
 Here is a sample Python 2.x source file, :file:`example.py`::
 
    def greet(name):
-      print "Hello, {0}!".format(name)
+       print "Hello, {0}!".format(name)
    print "What's your name?"
    name = raw_input()
    greet(name)
@@ -65,7 +64,6 @@ changed, but 2to3 cannot fix automatically.  In this case, 2to3 will print a
 warning beneath the diff for a file.
 
 
-
 :mod:`lib2to3` - 2to3's library
 -------------------------------