Commit 39d42792 authored by Stefan Behnel's avatar Stefan Behnel

fix tuple unpacking bug

parent dd94a216
__doc__ = """
>>> test1( (1,2,3) )
1
>>> test3( (1,2,3) )
3
>>> test( (1,2,3) )
3
"""
def test1(t):
t,a,b = t
return t
def test3(t):
a,b,t = t
return t
def test(t):
t,t,t = t
return t
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