mirror of
https://github.com/python/cpython.git
synced 2025-01-21 07:55:16 +08:00
Add script forgotten in r67464.
This commit is contained in:
parent
6178db6d55
commit
6825e17e1e
10
Demo/distutils/test2to3/maintest.py
Normal file
10
Demo/distutils/test2to3/maintest.py
Normal file
@ -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()
|
Loading…
Reference in New Issue
Block a user