mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
More cleanup: Move some demos into a dedicated Tools/demo dir, move 2to3 demo to Tools, and remove all the other Demo content.
This commit is contained in:
parent
6f17e2df29
commit
7fafbc95c0
164 changed files with 25 additions and 12436 deletions
10
Tools/test2to3/maintest.py
Normal file
10
Tools/test2to3/maintest.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
# 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