mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	This feature is off by default via code but on by default via the CLI. The `.gitignore` file contains `*` which causes the entire directory to be ignored. Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			141 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			10 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)
 |