cpython/Lib/venv/__main__.py

11 lines
141 B
Python

import sys
from . import main
rc = 1
try:
main()
rc = 0
except Exception as e:
print('Error:', e, file=sys.stderr)
sys.exit(rc)