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

Method append

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

Add an element to the right side of the OrderedSet.

(self, element)

Source from the content-addressed store, hash-verified

73 return '%s(%r)' % (self.__class__.__name__, list(self))
74
75 def append(self, element):
76 """Add an element to the right side of the OrderedSet."""
77 self._insertatnode(self._end.prev, element)
78
79 def appendleft(self, element):
80 """Add an element to the left side of the OrderedSet."""

Callers 15

extendMethod · 0.95
recipe-520593.pyFile · 0.45
searchMethod · 0.45
_getWeekDetailsFunction · 0.45
push_fontMethod · 0.45
findcityFunction · 0.45
showcitiesFunction · 0.45
fetchFunction · 0.45
threadsWithMessageMethod · 0.45
getContentsOfThreadMethod · 0.45
getThreadsMethod · 0.45
contentOfMessageMethod · 0.45

Calls 1

_insertatnodeMethod · 0.95

Tested by

no test coverage detected