This website requires JavaScript.
Explore
Help
Register
Sign In
Rooba
/
cpython
mirror of
https://github.com/python/cpython.git
Watch
1
Star
0
Fork
You've already forked cpython
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
e1ea8298c6
cpython
/
Tools
/
scripts
/
2to3
5 lines
101 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Merged revisions 61846-61847 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r61846 | martin.v.loewis | 2008-03-24 13:57:53 +0100 (Mo, 24 Mär 2008) | 2 lines Install 2to3 script. ........ r61847 | martin.v.loewis | 2008-03-24 14:31:16 +0100 (Mo, 24 Mär 2008) | 2 lines Patch #2240: Implement signal.setitimer and signal.getitimer. ........
2008-03-24 13:39:54 +00:00
#!/usr/bin/env python
Add lib2to3.__main__ to make it easier for debugging purposes to run 2to3.
2011-02-22 19:12:43 +00:00
import runpy
Merged revisions 61846-61847 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r61846 | martin.v.loewis | 2008-03-24 13:57:53 +0100 (Mo, 24 Mär 2008) | 2 lines Install 2to3 script. ........ r61847 | martin.v.loewis | 2008-03-24 14:31:16 +0100 (Mo, 24 Mär 2008) | 2 lines Patch #2240: Implement signal.setitimer and signal.getitimer. ........
2008-03-24 13:39:54 +00:00
Add lib2to3.__main__ to make it easier for debugging purposes to run 2to3.
2011-02-22 19:12:43 +00:00
runpy.run_module('lib2to3', run_name='__main__', alter_sys=True)