summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2011-02-22 19:12:43 (GMT)
committerBrett Cannon <bcannon@gmail.com>2011-02-22 19:12:43 (GMT)
commit4cfa24757b2f0946994aaa96ca5e135d30b49de3 (patch)
tree13e5b67950ff0de1e37223160040d711c2d6d81e /Lib
parentbd258bd4c6072e3b01ddcd2981d94d80ee158a34 (diff)
downloadcpython-4cfa24757b2f0946994aaa96ca5e135d30b49de3.zip
cpython-4cfa24757b2f0946994aaa96ca5e135d30b49de3.tar.gz
cpython-4cfa24757b2f0946994aaa96ca5e135d30b49de3.tar.bz2
Add lib2to3.__main__ to make it easier for debugging purposes to run 2to3.
Diffstat (limited to 'Lib')
-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"))