Thomas Wouters wrote: > >>> a, b = *c > File "<stdin>", line 1 > SyntaxError: can use starred expression only as assignment target
That error message isn't really accurate, since in > >>> a, b = (*c,) the *c is not an assignment target. Also, the message implies that *c = a, b should be valid -- is it? -- Greg _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
