Is there a commas-in-between idiom?

Peter van Kampen news at p2b.datatailors.com
Wed Nov 8 20:51:49 CET 2006


On 2006-11-06, Fredrik Lundh <fredrik at pythonware.com> wrote:
> I've collected a bunch of list pydioms and other notes here:
>
>     http://effbot.org/zone/python-list.htm

"""
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?

TIA,

PterK

-- 
Peter van Kampen
pterk -- at -- datatailors.com



More information about the Python-list mailing list