Dictonary persistance weirdness

John Machin sjmachin at lexicon.net
Sun Apr 10 21:54:23 EDT 2005


On Sun, 10 Apr 2005 19:07:23 -0300, Gonzalo Sainz-Trápaga (GomoX)
<gomoSINSPAM at datafull.com> wrote:


>    def get_vars():
>        d = {}
>        for each in self.fs.list:
>            self.d[x.name] = x.value
>        return d
>

... and didn't you mean

   def get_vars(self):

?





More information about the Python-list mailing list