[Python-3000-checkins] r67465 - python/branches/py3k/Demo/distutils/test2to3/maintest.py

martin.v.loewis python-3000-checkins at python.org
Mon Dec 1 05:44:46 CET 2008


Author: martin.v.loewis
Date: Mon Dec  1 05:44:45 2008
New Revision: 67465

Log:
Add script forgotten in r67464.


Added:
   python/branches/py3k/Demo/distutils/test2to3/maintest.py   (contents, props changed)

Added: python/branches/py3k/Demo/distutils/test2to3/maintest.py
==============================================================================
--- (empty file)
+++ python/branches/py3k/Demo/distutils/test2to3/maintest.py	Mon Dec  1 05:44:45 2008
@@ -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()


More information about the Python-3000-checkins mailing list