On 30/01/2014 23:36, Joshua Landau wrote:
On 30 January 2014 20:38, Chris Angelico <ros...@gmail.com> wrote:

Why is tuple unpacking limited to the last argument? Is it just for
the parallel with the function definition, where anything following it
is keyword-only?

You're not the first person to ask that:
http://www.python.org/dev/peps/pep-0448/

On a vaguely-related note, does anyone know why iterable unpacking in calls was removed in Python 3? I mean things like

def f(x, (y, z)):
    return (x, y), z

I don't have a use case in mind, I was just wondering.
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to