[Python-checkins] r88535 - sandbox/trunk/2to3/lib2to3/__main__.py
brett.cannon
python-checkins at python.org
Wed Feb 23 20:46:46 CET 2011
Author: brett.cannon
Date: Wed Feb 23 20:46:46 2011
New Revision: 88535
Log:
Add lib2to3.__main__ for easy testing from the console.
Added:
sandbox/trunk/2to3/lib2to3/__main__.py
Added: sandbox/trunk/2to3/lib2to3/__main__.py
==============================================================================
--- (empty file)
+++ sandbox/trunk/2to3/lib2to3/__main__.py Wed Feb 23 20:46:46 2011
@@ -0,0 +1,4 @@
+import sys
+from .main import main
+
+sys.exit(main("lib2to3.fixes"))
More information about the Python-checkins
mailing list