diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2008-12-01 04:44:45 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2008-12-01 04:44:45 (GMT) |
commit | 6825e17e1e4bc0034b6aba665d5e641e3febecfa (patch) | |
tree | 39eb264e9c116477ec0fc751e882dbab08e068e7 /Demo/distutils | |
parent | 6178db6d55eac65fc236cbf48a3944d1c308c2d1 (diff) | |
download | cpython-6825e17e1e4bc0034b6aba665d5e641e3febecfa.zip cpython-6825e17e1e4bc0034b6aba665d5e641e3febecfa.tar.gz cpython-6825e17e1e4bc0034b6aba665d5e641e3febecfa.tar.bz2 |
Add script forgotten in r67464.
Diffstat (limited to 'Demo/distutils')
-rw-r--r-- | Demo/distutils/test2to3/maintest.py | 10 |
1 files changed, 10 insertions, 0 deletions
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() |