Why not just update the local dictionary?

class Grouping:
    def __init__(self,x,y,z):
        self.__dict__.update(locals()) 


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

Reply via email to