MCPcopy Index your code
hub / github.com/python/cpython / item

Method item

Lib/xml/dom/minicompat.py:53–55  ·  view source on GitHub ↗
(self, index)

Source from the content-addressed store, hash-verified

51 __slots__ = ()
52
53 def item(self, index):
54 if 0 <= index < len(self):
55 return self[index]
56
57 def _get_length(self):
58 return len(self)

Callers 2

test_nodelist_itemMethod · 0.95
_getDeclarationsMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_nodelist_itemMethod · 0.76