[issue22944] Python argument tuple unpacking

2014-11-25 Thread Simon Zack
New submission from Simon Zack: Python already has tuple unpacking in many places, I wonder if this has been considered for arguments yet, it seems rather convenient and a natural extension to me. Here's what I mean: def func((a, b, c)): print(a, b, c) func((1, 2, 3)) should print 1 2

[issue22944] Python argument tuple unpacking

2014-11-25 Thread Benjamin Peterson
Benjamin Peterson added the comment: Python 2 has it. It was removed in Python 3. See https://www.python.org/dev/peps/pep-3113/ -- nosy: +benjamin.peterson resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org