MCPcopy Create free account
hub / github.com/sissaschool/xmlschema / insert

Method insert

xmlschema/dataobjects.py:107–109  ·  view source on GitHub ↗
(self, i: int, child: 'DataElement')

Source from the content-addressed store, hash-verified

105 return len(self._children)
106
107 def insert(self, i: int, child: 'DataElement') -> None:
108 assert isinstance(child, DataElement)
109 self._children.insert(i, child)
110
111 def __repr__(self) -> str:
112 return '%s(tag=%r)' % (self.__class__.__name__, self.tag)

Callers 3

test_missing_childMethod · 0.45
conf.pyFile · 0.45

Calls

no outgoing calls

Tested by 2

test_missing_childMethod · 0.36