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

Method __len__

pattern/db/__init__.py:1202–1203  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1200 return self._table
1201
1202 def __len__(self):
1203 return len(list(self.rows()))
1204 def __iter__(self):
1205 return iter(self.rows())
1206 def __getitem__(self, i):

Callers

nothing calls this directly

Calls 2

rowsMethod · 0.95
lenFunction · 0.85

Tested by

no test coverage detected