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

Method extend

pattern/db/__init__.py:2144–2146  ·  view source on GitHub ↗
(self, values, default=None)

Source from the content-addressed store, hash-verified

2142 def append(self, value, default=None):
2143 self.insert(len(self), value, default)
2144 def extend(self, values, default=None):
2145 for value in values:
2146 self.insert(len(self), value, default)
2147
2148 def map(self, function=lambda value: value):
2149 """ Applies the given function to each value in the column.

Callers

nothing calls this directly

Calls 2

insertMethod · 0.95
lenFunction · 0.85

Tested by

no test coverage detected