def set_payload(self, value): """ Set the XML contents of the <iq> stanza. Arguments: value -- An XML object to use as the <iq> stanza's contents """ self.clear() StanzaBase.set_payload(self, value) return self
def set_payload(self, value): """ Set the XML contents of the <iq> stanza. Arguments: value -- An XML object to use as the <iq> stanza's contents """ self.clear() StanzaBase.set_payload(self, value) return self