Files
codeql/python/extractor/tests/parser/exceptions_new.py
Taus f9d0b31120 Python: Add parser test
Note in particular that the `exceptions.py` test is unaffected.
2025-12-16 23:58:40 +01:00

9 lines
137 B
Python

try:
pass
except a, b: # new, relaxed syntax
pass
except (c, d): # old syntax
pass
except (e, f) as g: # old syntax
pass