Staging
v0.8.1
https://github.com/python/cpython
Raw File
Tip revision: 9242376906b604697f278453ab853861fee2c150 authored by Guido van Rossum on 10 November 2020, 05:36:05 UTC
Some suggestions for the descriptors howto.
Tip revision: 9242376
maintest.py
#!/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()
back to top