mirror of
				https://github.com/astral-sh/ruff.git
				synced 2025-10-30 11:36:57 +00:00 
			
		
		
		
	
		
			
				
	
	
	
	
		
			189 B
		
	
	
	
	
	
	
	
			
		
		
	
	
			189 B
		
	
	
	
	
	
	
	
Exception Handling
Invalid syntax
from typing_extensions import reveal_type
try:
    print
except as e:  # error: [invalid-syntax]
    reveal_type(e)  # revealed: Unknown
