[a,b,c,d] = 1,2,3,4

Skip Montanaro skip.montanaro at gmail.com
Tue Aug 25 17:32:53 CEST 2015


On Tue, Aug 25, 2015 at 10:24 AM, Jussi Piitulainen <
harvested.address at is.invalid> wrote:

> When I try it today, round brackets
> also work, both in 2.6.6 and 3.4.0 - no idea what version it was where
> they failed or if I'm imagining the whole thing.
>

You are imagining the whole thing. Either that, or you had some other
problem with your tuple unpacking which kept it from working. That has been
a part of the language as far back as I can remember. I started using
Python around the 1.0 timeframe.

Skip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20150825/5f3469e8/attachment.html>


More information about the Python-list mailing list