Files
python-uncompyle6/test/simple_source/bug35/03_double_star_unpack.py
2017-01-10 04:36:28 -05:00

10 lines
190 B
Python

# Bug in Python 3.5 is getting the two star'd arguments right.
def sum(a,b,c,d):
return a + b + c + d
args=(1,2)
sum(*args, *args)
# FIXME: this is handled incorrectly
# (*c,) = (3,4)