docstr: Reset attributes and change delegate.
docstr_tok: ["Reset","attributes","and","change","delegate","."]
code: def setdelegate(self, delegate):
      "Reset attributes and change delegate."
      self.resetcache()
      self.delegate = delegate
  
label_desc: Use image node_id 4 for calling the Delegator obj's underlying member method code with example usage: obj.setdelegate(delegate) without return types