On Fri, Jan 31, 2014 at 8:17 AM, Ian Kelly <ian.g.ke...@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?
>
> Lack of a convincing use case, and the position of the following arguments
> would then be dependent upon the length of the tuple, which in many cases
> could result in subtle bugs.

Okay. Just seemed an odd restriction; I can unpack an iterable into a
function's args (great!), I can have other args before that tuple
(handy!), but I can't have any after.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to