MCPcopy Create free account
hub / github.com/cdgriffith/Box / extend

Method extend

box/box_list.py:211–216  ·  view source on GitHub ↗
(self, iterable)

Source from the content-addressed store, hash-verified

209 super().append(self._convert(p_object))
210
211 def extend(self, iterable):
212 self._comment_check_frozen()
213 if iterable is self:
214 iterable = list(self)
215 for item in iterable:
216 self.append(item)
217
218 def insert(self, index, p_object):
219 self._comment_check_frozen()

Callers 15

test_box_listMethod · 0.95
test_extend_selfMethod · 0.95
test_frozen_listMethod · 0.95
__setitem__Method · 0.95
__iadd__Method · 0.95
test_audit_sync.pyFile · 0.80
take_linesFunction · 0.80
handleFunction · 0.80

Calls 2

_comment_check_frozenMethod · 0.95
appendMethod · 0.95