diff options
author | Brett Cannon <bcannon@gmail.com> | 2011-02-22 19:12:43 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2011-02-22 19:12:43 (GMT) |
commit | 4cfa24757b2f0946994aaa96ca5e135d30b49de3 (patch) | |
tree | 13e5b67950ff0de1e37223160040d711c2d6d81e /Lib/lib2to3 | |
parent | bd258bd4c6072e3b01ddcd2981d94d80ee158a34 (diff) | |
download | cpython-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/lib2to3')
-rw-r--r-- | Lib/lib2to3/__main__.py | 4 |
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")) |