mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 11:49:12 +00:00 
			
		
		
		
	Here's one more small cleanup that should have been in PR gh-28319. We eliminate stdout side-effects from importing the frozen __hello__ module, and update tests accordingly. We also move the module's source file into Lib/ from Toos/freeze/flag.py. https://bugs.python.org/issue45019
		
			
				
	
	
		
			7 lines
		
	
	
	
		
			97 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
	
		
			97 B
		
	
	
	
		
			Python
		
	
	
	
	
	
initialized = True
 | 
						|
 | 
						|
def main():
 | 
						|
    print("Hello world!")
 | 
						|
 | 
						|
if __name__ == '__main__':
 | 
						|
    main()
 |