MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / extend

Function extend

lib/sqlalchemy/orm/collections.py:1171–1177  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

1169 return __delitem__
1170
1171 def extend(fn):
1172 def extend(self, iterable):
1173 for value in list(iterable):
1174 self.append(value)
1175
1176 _tidy(extend)
1177 return extend
1178
1179 def __iadd__(fn):
1180 def __iadd__(self, iterable):

Callers

nothing calls this directly

Calls 2

_tidyFunction · 0.85
appendMethod · 0.45

Tested by

no test coverage detected