1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-12 02:23:39 +08:00
SpaceVim/bundle/nvim-treesitter-0.9.1/tests/query/highlights/python/raise_from.py

7 lines
129 B
Python
Raw Normal View History

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