MCPcopy Create free account
hub / github.com/ActiveState/code / extend

Method extend

recipes/Python/528878_Ordered_Set/recipe-528878.py:88–91  ·  view source on GitHub ↗

Extend the right side of the OrderedSet with elements from the iterable.

(self, iterable)

Source from the content-addressed store, hash-verified

86 self.pop()
87
88 def extend(self, iterable):
89 """Extend the right side of the OrderedSet with elements from the iterable."""
90 for element in iterable:
91 self.append(element)
92
93 def extendleft(self, iterable):
94 """Extend the left side of the OrderedSet with elements from the iterable."""

Callers 15

__init__Method · 0.95
submitMethod · 0.45
motionFunction · 0.45
AddDateInfoKeywordsFunction · 0.45
motionFunction · 0.45
mainFunction · 0.45
initialise_listMethod · 0.45
initMethod · 0.45
recipe-546530.pyFile · 0.45
initMethod · 0.45
set_backgroundMethod · 0.45
iterateFunction · 0.45

Calls 1

appendMethod · 0.95

Tested by

no test coverage detected