Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 78abc9dcc2a854cd56c410377449dc50d7f46e3d authored by Georg Brandl on 27 October 2013, 08:41:57 UTC
Skip overzealous test for existence of the online license.html for pre-release versions.
Tip revision: 78abc9d
__main__.py
import sys
from . import main

rc = 1
try:
    main()
    rc = 0
except Exception as e:
    print('Error: %s' % e, file=sys.stderr)
sys.exit(rc)
back to top