Files
openide/python/testData/intentions/exceptPartAddMissingParentheses_after.py
Marcus Mewsandintellij-monorepo-bot 63abd60ba4 PY-84077 - Support PEP 758 – Allow except and except* expressions without parentheses
- adjust parser to support comma separated list of error classes
- add problem annotation and quick fix for missing parentheses
- add new tests, adjust old tests

GitOrigin-RevId: a1b9bdf252ac874aa7bd1a6881c1784259bb35cc
2025-09-15 08:33:03 +00:00

4 lines
58 B
Python

try:
pass
except (ImportError, AccessError) as e:
pass