Can't create list of dictionaries
John Machin
sjmachin at lexicon.net
Fri Apr 10 07:58:52 EDT 2009
On Apr 10, 9:49 pm, sophie_newbie <paulgeele... at gmail.com> wrote:
> Scratch everything I said, copy() does work. Made a wee mistake
> somewhere else.
>
> Apologies if I've wasted anyones time!
Ummmm ... if think you need a dict.copy() *after* the function has
returned, then you are likely to be doing it in a way that perhaps you
shouldn't make a habit of :-)
More information about the Python-list
mailing list