Emin wrote:

> Thanks for your suggestions. One issue with using *args or **kw is
> that I might no want to copy all the arguments to __init__ into
> self.

Try prepending something like

allowedParms = ("spam", "eggs", "yum")
args = dict([key,val for key,val in args.elements() if key in
allowedParms])

Regards,


Björn

-- 
BOFH excuse #64:

CPU needs recalibration

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

Reply via email to