mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Add script forgotten in r67464.
This commit is contained in:
parent
6178db6d55
commit
6825e17e1e
1 changed files with 10 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue