Staging
v0.8.1
https://github.com/python/cpython
Raw File
Tip revision: 4452cdcb79fdade13c00eabe63304efa4da1c3ad authored by Larry Hastings on 09 September 2019, 13:39:36 UTC
Sphinx 1.8 is now preferred for building 3.5 docs.
Tip revision: 4452cdc
__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