diff options
Diffstat (limited to 'Demo')
-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() |