code: 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(**df 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)
docs: Duplicate attributes of dict or other typedef.