Norvell Spearman <[EMAIL PROTECTED]> writes: > Lutz and Ascher have tuple and list assignment as separate entries in > their assignment statement forms table so I was expecting there to be > some difference; thanks for setting me straight.
In older Python versions there was a difference between list unpacking and tuple unpacking. The former would only work with lists and the latter with tuples. With Python 1.5, both were unified into a more general sequence unpacking, but for backwards compatibility both syntaxes were kept. Bernhard -- Intevation GmbH http://intevation.de/ Skencil http://skencil.org/ Thuban http://thuban.intevation.org/ -- http://mail.python.org/mailman/listinfo/python-list