Commit 8c36bf3f authored by Vitja Makarov's avatar Vitja Makarov

Add testcase for #664

parent ed8aac8a
def assign():
"""
>>> assign()
(1, [2, 3, 4, 5])
"""
a, *b = 1, 2, 3, 4, 5
return a, b
def assign3():
"""
>>> assign3()
(1, [2, 3, 4, 5], 6)
"""
a, *b, c = 1, 2, 3, 4, 5, 6
return a, b, c
def assign4():
"""
>>> assign4()
(1, [2, 3, 4], 5, 6)
"""
a, *b, c, d = 1, 2, 3, 4, 5, 6
return a, b, c, d
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment