On Mon, 2006-07-31 at 13:02 -0700, Cliff Wells wrote:

> @attrs ( bits = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] )

Also, IMO, it's a bit more readable to write:

bits = [ 0 for i in range ( 16 ) ]

which avoids the necessity of counting the zeros to know how many there
are.

Regards,
Cliff


-- 

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

Reply via email to