erg/tests/should_ok/star_expr.er
2024-03-16 13:20:01 +09:00

3 lines
53 B
Python

[a, *b] = [1, 2, 3]
assert a == 1
assert b == [2, 3]