]> granicus.if.org Git - python/commitdiff
Merged revisions 88535 via svnmerge from
authorBenjamin Peterson <benjamin@python.org>
Thu, 24 Feb 2011 01:41:46 +0000 (01:41 +0000)
committerBenjamin Peterson <benjamin@python.org>
Thu, 24 Feb 2011 01:41:46 +0000 (01:41 +0000)
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.
........

Lib/lib2to3/__main__.py [new file with mode: 0644]

diff --git a/Lib/lib2to3/__main__.py b/Lib/lib2to3/__main__.py
new file mode 100644 (file)
index 0000000..80688ba
--- /dev/null
@@ -0,0 +1,4 @@
+import sys
+from .main import main
+
+sys.exit(main("lib2to3.fixes"))