In article <[EMAIL PROTECTED]>,
 Larry Bates <[EMAIL PROTECTED]> wrote:

> While I have never needed anything like this in my 5 years of Python
> programming, here is a way:
> 
> a,b,c = 3*[0]
> q,r,s,t,u,v = 6*[0]

This is (IMO) fairly idiomatic:

   a = b = c = 0
   q = r = s = t = u = v = 0

Just
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to