Is there a commas-in-between idiom?

Peter van Kampen news at
Wed Nov 8 20:51:49 CET 2006

On 2006-11-06, Fredrik Lundh <fredrik at> wrote:
> I've collected a bunch of list pydioms and other notes here:

A = B = [] # both names will point to the same list

I've been bitten by this once or twice in the past, but I have always
wondered what it was useful for? Can anybody enlighten me?



Peter van Kampen
pterk -- at --

More information about the Python-list mailing list