mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	 2f2b69855d
			
		
	
	
		2f2b69855d
		
			
		
	
	
	
	
		
			
			Change class and module objects to lazy-create empty annotations dicts on demand. The annotations dicts are stored in the object's `__dict__` for backwards compatibility.
		
			
				
	
	
		
			5 lines
		
	
	
	
		
			81 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
	
		
			81 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| # This ann_module isn't for test_typing,
 | |
| # it's for test_module
 | |
| 
 | |
| a:int=3
 | |
| b:str=4
 |