src/reportlab/lib/abag.py
changeset 3707 961300bcfe84
parent 3617 ae5744e97c42
child 4067 712e1822ca31
equal deleted inserted replaced
3706:d468d1f4e8b7 3707:961300bcfe84
    17     """
    17     """
    18     def __init__(self,**attr):
    18     def __init__(self,**attr):
    19         self.__dict__.update(attr)
    19         self.__dict__.update(attr)
    20 
    20 
    21     def clone(self,**attr):
    21     def clone(self,**attr):
    22         n = ABag(**self.__dict__)
    22         n = self.__class__(**self.__dict__)
    23         if attr: n.__dict__.update(attr)
    23         if attr: n.__dict__.update(attr)
    24         return n
    24         return n
    25 
    25 
    26     def __repr__(self):
    26     def __repr__(self):
    27         D = self.__dict__
    27         D = self.__dict__