1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-28 00:40:07 +08:00
SpaceVim/bundle/nvim-treesitter/tests/indent/python/branches.py

32 lines
227 B
Python
Raw Normal View History

a = [
1, 2, 3]
b = [
x + 1
for x in range(3)]
c = [[[
1
]]]
d = [[[
4]]]
e = [[
1], 2, 3]
def foo(x, y):
pass
foo(
a,
b)
if (a and
b):
pass
if (a
and b):
pass