Python-list Digest, Vol 42, Issue 117

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Fri Mar 9 20:44:15 EST 2007


En Fri, 09 Mar 2007 18:35:59 -0300, Bart Willems <bwillems at optonline.net>  
escribió:

> I'm sorry, but what's wrong with:
> radix = [ [] ] * 256

http://www.python.org/doc/faq/programming.html#how-do-i-create-a-multidimensional-list
http://www.python.org/doc/faq/general.html#why-are-default-values-shared-between-objects

-- 
Gabriel Genellina




More information about the Python-list mailing list