MCPcopy
hub / github.com/Jack-Lee-Hiter/AlgorithmsByPython / addRear

Method addRear

Queue.py:45–46  ·  view source on GitHub ↗
(self, item)

Source from the content-addressed store, hash-verified

43 return self.items == []
44
45 def addRear(self, item):
46 self.items.insert(0, item)
47
48 def addFront(self, item):
49 self.items.append(item)

Callers

nothing calls this directly

Calls 1

insertMethod · 0.80

Tested by

no test coverage detected