summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-07-24 07:09:21 (GMT)
committerGeorg Brandl <georg@python.org>2008-07-24 07:09:21 (GMT)
commit340739e216788d132ffd985c7dc26bd3368ff80b (patch)
treef66911c70fc9074ae251d2845284e19d5609bc7c /Doc
parent7f59b5cc03cd3e28ec0f877992c439452fef264c (diff)
downloadcpython-340739e216788d132ffd985c7dc26bd3368ff80b.zip
cpython-340739e216788d132ffd985c7dc26bd3368ff80b.tar.gz
cpython-340739e216788d132ffd985c7dc26bd3368ff80b.tar.bz2
Fix indentation.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/2to3.rst4
1 files changed, 1 insertions, 3 deletions
diff --git a/Doc/library/2to3.rst b/Doc/library/2to3.rst
index 38d01dc..ee7666d 100644
--- a/Doc/library/2to3.rst
+++ b/Doc/library/2to3.rst
@@ -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
-------------------------------