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

7 lines
129 B
Python

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