Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
340739e2
Commit
340739e2
authored
Jul 24, 2008
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix indentation.
parent
7f59b5cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
Doc/library/2to3.rst
Doc/library/2to3.rst
+1
-3
No files found.
Doc/library/2to3.rst
View file @
340739e2
.. _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
-------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment