MCPcopy Create free account
hub / github.com/acm-clan/algorithm-stone / push

Method push

animations/src/algo_queue.py:16–19  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

14 return len(self.datas)
15
16 def push(self, data):
17 self.add(AlgoNode(str(data)))
18 self.datas.append(data)
19 self.arrange()
20
21 def pop(self):
22 self.remove(self.submobjects[0])

Callers

nothing calls this directly

Calls 2

AlgoNodeClass · 0.85
addMethod · 0.45

Tested by

no test coverage detected