summaryrefslogtreecommitdiffstats
path: root/Tools/scripts
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2008-03-24 12:57:53 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2008-03-24 12:57:53 (GMT)
commitcdbc977c0344cfe2294e8be69cd1acd77b3b79ad (patch)
tree3282eded5b40f054ca9929ac40e096b2ef0558ea /Tools/scripts
parent9bdead0aed698aea001a9d5ace63e96e904d6fa3 (diff)
downloadcpython-cdbc977c0344cfe2294e8be69cd1acd77b3b79ad.zip
cpython-cdbc977c0344cfe2294e8be69cd1acd77b3b79ad.tar.gz
cpython-cdbc977c0344cfe2294e8be69cd1acd77b3b79ad.tar.bz2
Install 2to3 script.
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-xTools/scripts/2to35
1 files changed, 5 insertions, 0 deletions
diff --git a/Tools/scripts/2to3 b/Tools/scripts/2to3
new file mode 100755
index 0000000..251c291
--- /dev/null
+++ b/Tools/scripts/2to3
@@ -0,0 +1,5 @@
+#!/usr/bin/env python
+from lib2to3 import refactor
+import sys
+
+sys.exit(refactor.main())