# py 2.x only def foo(a, (b, c), d): pass foo(1, range(2), 4)