MCPcopy Create free account
hub / github.com/geekcomputers/Python / __init__

Method __init__

balance_parenthesis.py:2–3  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1class Stack:
2 def __init__(self):
3 self.items = []
4
5 def push(self, item):
6 self.items.append(item)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected