beginner question about range with list and list

Ben Finney bignose+hates-spam at benfinney.id.au
Thu Nov 23 23:34:16 EST 2006


"erik gartz" <eegunnar at yahoo.com> writes:

> Doesn't {} allocate new memory for the dictionary each time? It
> almost appears as if the 2nd dictionary created overwrites the first
> one.

    <URL:http://effbot.org/pyfaq/how-do-i-create-a-multidimensional-list.htm>

-- 
 \        "There are only two ways to live your life. One is as though |
  `\      nothing is a miracle. The other is as if everything is."  -- |
_o__)                                                  Albert Einstein |
Ben Finney




More information about the Python-list mailing list