MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __iadd__

Function __iadd__

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

Source from the content-addressed store, hash-verified

1177 return extend
1178
1179 def __iadd__(fn):
1180 def __iadd__(self, iterable):
1181 # list.__iadd__ takes any iterable and seems to let TypeError
1182 # raise as-is instead of returning NotImplemented
1183 for value in list(iterable):
1184 self.append(value)
1185 return self
1186
1187 _tidy(__iadd__)
1188 return __iadd__
1189
1190 def pop(fn):
1191 def pop(self, index=-1):

Callers

nothing calls this directly

Calls 2

_tidyFunction · 0.85
appendMethod · 0.45

Tested by

no test coverage detected