George Sakkis wrote:
"bruno modulix" <[EMAIL PROTECTED]> wrote: in message news:[EMAIL PROTECTED]

(snip)
Note that you don't have anything like
list unpacking, now tuple unpacking is pretty common in Python (swap,
multiple return values, formatted strings and outputs, ...).


All the following are possible:


(x,y,z) = (1,2,3)
(x,y,z) = [1,2,3]
[x,y,z] = (1,2,3)
[x,y,z] = [1,2,3]


What exactly do you mean by "don't have anything like list unpacking" ?

A stupidity :(

--
bruno desthuilliers
ruby -e "print '[EMAIL PROTECTED]'.split('@').collect{|p| p.split('.').collect{|w| w.reverse}.join('.')}.join('@')"
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to