On Sat, 24 Dec 2011 06:47:21 -0800, Eelco wrote: > I would like to be able to write something like: > > a, middle::tuple, b = ::sequence > > Where I would like the extra :: before the sequence to explicitly signal > collection unpacking on the rhs, to maintain the symmetry with > collection unpacking within a function call.
The :: on the right-hand side is redundant, because the left-hand side already explicitly signals collection unpacking of the RHS. Requiring :: on the RHS above is as unnecessary as it would be here: n = len(::sequence) -- Steven -- http://mail.python.org/mailman/listinfo/python-list