mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 07:31:38 +00:00 
			
		
		
		
	
		
			
	
	
		
			11 lines
		
	
	
	
		
			202 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			11 lines
		
	
	
	
		
			202 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| 
								 | 
							
								# Used by test_typing to verify that Final wrapped in ForwardRef works.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								from __future__ import annotations
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								from typing import Final
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								name: Final[str] = "final"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								class MyClass:
							 | 
						||
| 
								 | 
							
								    value: Final = 3000
							 |