mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	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
 |