nvim-treesitter/tests/query/highlights/python/raise_from.py

7 lines
129 B
Python
Raw Normal View History

2022-04-30 20:10:55 -05:00
try:
print(1 / 0)
except Exception:
raise RuntimeError from None
# ^ @exception
# ^ @exception