mirror of
https://github.com/astral-sh/ruff.git
synced 2026-11-25 02:55:35 +08:00
146 B
146 B
Exception Handling
Invalid syntax
try:
print
except as e: # error: [invalid-syntax]
reveal_type(e) # revealed: Unknown