src/reportlab/lib/abag.py
branchpy33
changeset 3756 475d5ceb83b9
parent 3721 0c93dd8ff567
child 4067 712e1822ca31
equal deleted inserted replaced
3755:4b46b70be039 3756:475d5ceb83b9
    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__