nvim-treesitter/tests/query/highlights/python/raise_from.py
2022-05-01 10:06:13 +02:00

6 lines
129 B
Python

try:
print(1 / 0)
except Exception:
raise RuntimeError from None
# ^ @exception
# ^ @exception