[Python-checkins] r65216 - python/trunk/Doc/library/2to3.rst
georg.brandl
python-checkins at python.org
Thu Jul 24 09:09:22 CEST 2008
Author: georg.brandl
Date: Thu Jul 24 09:09:21 2008
New Revision: 65216
Log:
Fix indentation.
Modified:
python/trunk/Doc/library/2to3.rst
Modified: python/trunk/Doc/library/2to3.rst
==============================================================================
--- python/trunk/Doc/library/2to3.rst (original)
+++ python/trunk/Doc/library/2to3.rst Thu Jul 24 09:09:21 2008
@@ -1,4 +1,3 @@
-
.. _2to3-reference:
2to3 - Automated Python 2 to 3 code translation
@@ -19,7 +18,7 @@
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 @@
warning beneath the diff for a file.
-
:mod:`lib2to3` - 2to3's library
-------------------------------
More information about the Python-checkins
mailing list