def dup(self, other=None, **kwds):
        '''Duplicate attributes of dict or other typedef.
        '''
        if other is None:
            d = _dict_typedef.kwds()
        else:
            d =  other.kwds()
        d.update(kwds)
        self.reset(**d)
def dup ( self , other = None , ** kwds ) : if other is None : d = _dict_typedef . kwds ( ) else : d = other . kwds ( ) d . update ( kwds ) self . reset ( ** d )
Duplicate attributes of dict or other typedef.