summaryrefslogtreecommitdiffstats
path: root/Tools/scripts
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2008-03-24 13:39:54 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2008-03-24 13:39:54 (GMT)
commit823725e93cdd85371eae53352dd83fc634e95694 (patch)
tree9c9a313f8f0859aaf6790aa4b4900adb6d1b3e60 /Tools/scripts
parent6cf49cf10689bf2ff23fff05928daa23ecdf6fc2 (diff)
downloadcpython-823725e93cdd85371eae53352dd83fc634e95694.zip
cpython-823725e93cdd85371eae53352dd83fc634e95694.tar.gz
cpython-823725e93cdd85371eae53352dd83fc634e95694.tar.bz2
Merged revisions 61846-61847 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r61846 | martin.v.loewis | 2008-03-24 13:57:53 +0100 (Mo, 24 Mär 2008) | 2 lines Install 2to3 script. ........ r61847 | martin.v.loewis | 2008-03-24 14:31:16 +0100 (Mo, 24 Mär 2008) | 2 lines Patch #2240: Implement signal.setitimer and signal.getitimer. ........
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())