Alan Isaac wrote:
> Also, as an aside, no one objected to using
>     self.__dict__.update(kwargs)
> in the __init__ function of the parameter holding class.

It is a common trick, also shown in the Python cookbook, IIRC. If you
are anal about
double underscores, you can also use

vars(self).update(kwargs)

              Michele Simionato

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

Reply via email to