summaryrefslogtreecommitdiffstats
path: root/Lib/lib2to3/__main__.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-02-24 01:41:46 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-02-24 01:41:46 (GMT)
commita6f85e22706f989340b1c29b7e3be04905bfb8ef (patch)
tree5e8a97f42c3e7780958a11e94b8dae4255fc6e79 /Lib/lib2to3/__main__.py
parentc38f025a55b56a7ddbec22479925ccef955507af (diff)
downloadcpython-a6f85e22706f989340b1c29b7e3be04905bfb8ef.zip
cpython-a6f85e22706f989340b1c29b7e3be04905bfb8ef.tar.gz
cpython-a6f85e22706f989340b1c29b7e3be04905bfb8ef.tar.bz2
Merged revisions 88535 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r88535 | brett.cannon | 2011-02-23 13:46:46 -0600 (Wed, 23 Feb 2011) | 1 line Add lib2to3.__main__ for easy testing from the console. ........
Diffstat (limited to 'Lib/lib2to3/__main__.py')
-rw-r--r--Lib/lib2to3/__main__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/lib2to3/__main__.py b/Lib/lib2to3/__main__.py
new file mode 100644
index 0000000..80688ba
--- /dev/null
+++ b/Lib/lib2to3/__main__.py
@@ -0,0 +1,4 @@
+import sys
+from .main import main
+
+sys.exit(main("lib2to3.fixes"))