Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: bd18254b91272c2f0f0d98f66fdeca962ef1a901 authored by Ned Deily on 11 December 2019, 05:24:09 UTC
3.7.6rc1
Tip revision: bd18254
__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