mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 05:01:30 +00:00 
			
		
		
		
	 e4c431ecf5
			
		
	
	
		e4c431ecf5
		
			
		
	
	
	
	
		
			
			This is partly a cleanup of the code. It also is preparation for getting the variables from the source (cross-platform) rather than from the symbols. The change only touches the tool (and its tests).
		
			
				
	
	
		
			9 lines
		
	
	
	
		
			262 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			262 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| # This is a script equivalent of running "python -m test.test_c_globals.cg".
 | |
| 
 | |
| from cpython.__main__ import parse_args, main
 | |
| 
 | |
| 
 | |
| # This is effectively copied from cg/__main__.py:
 | |
| if __name__ == '__main__':
 | |
|     cmd, cmdkwargs = parse_args()
 | |
|     main(cmd, cmdkwargs)
 |