commit | 6825e17e1e4bc0034b6aba665d5e641e3febecfa | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Mon Dec 01 04:44:45 2008 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Mon Dec 01 04:44:45 2008 +0000 |
tree | 39eb264e9c116477ec0fc751e882dbab08e068e7 | |
parent | 6178db6d55eac65fc236cbf48a3944d1c308c2d1 [diff] [blame] |
Add script forgotten in r67464.
diff --git a/Demo/distutils/test2to3/maintest.py b/Demo/distutils/test2to3/maintest.py new file mode 100644 index 0000000..72a26dd --- /dev/null +++ b/Demo/distutils/test2to3/maintest.py
@@ -0,0 +1,10 @@ +#!/usr/bin/env python + +# The above line should get replaced with the path to the Python +# interpreter; the block below should get 2to3-converted. + +try: + from test2to3.hello import hello +except ImportError, e: + print "Import failed", e +hello()