MCPcopy Index your code
hub / github.com/clips/pattern / __getitem__

Method __getitem__

pattern/db/__init__.py:893–894  ·  view source on GitHub ↗
(self, i)

Source from the content-addressed store, hash-verified

891 def __iter__(self):
892 return iter(self.rows())
893 def __getitem__(self, i):
894 return self.rows()[i]
895
896 def abs(self, field):
897 """ Returns the absolute field name (e.g., "name" => ""persons.name").

Callers 10

__getitem__Method · 0.45
__setitem__Method · 0.45
__getitem__Method · 0.45
groupMethod · 0.45
sliceMethod · 0.45
__getitem__Method · 0.45
__iter__Method · 0.45
__getitem__Method · 0.45
__setitem__Method · 0.45
__iter__Method · 0.45

Calls 1

rowsMethod · 0.95

Tested by

no test coverage detected