MCPcopy Create free account
hub / github.com/HuberTRoy/leetCode / __repr__

Method __repr__

Stack/GetMinStack.py:34–36  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

32 self.stored = deque()
33
34 def __repr__(self):
35 # 3.6 +
36 return f'<{self.stored}>'
37
38 def push(self, value):
39 self.stored.append(value)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected