From: Martin v. Löwis Date: Mon, 1 Dec 2008 04:44:45 +0000 (+0000) Subject: Add script forgotten in r67464. X-Git-Tag: v3.0~31 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6825e17e1e4bc0034b6aba665d5e641e3febecfa;p=python Add script forgotten in r67464. --- diff --git a/Demo/distutils/test2to3/maintest.py b/Demo/distutils/test2to3/maintest.py new file mode 100644 index 0000000000..72a26ddea0 --- /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()