MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / __setitem__

Method __setitem__

suds/sax/element.py:926–931  ·  view source on GitHub ↗
(self, index, value)

Source from the content-addressed store, hash-verified

924 return None
925
926 def __setitem__(self, index, value):
927 if isinstance(index, basestring):
928 self.set(index, value)
929 else:
930 if index < len(self.children) and isinstance(value, Element):
931 self.children.insert(index, value)
932
933 def __eq__(self, rhs):
934 return rhs is not None and \

Callers

nothing calls this directly

Calls 2

setMethod · 0.95
insertMethod · 0.45

Tested by

no test coverage detected