mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-04 17:41:31 +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