Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/geekcomputers/Python
/ push
Method
push
balance_parenthesis.py:5–6 ·
view source on GitHub ↗
(self, item)
Source
from the content-addressed store, hash-verified
3
self.items = []
4
5
def
push(self, item):
6
self.items.append(item)
7
8
def
pop(self):
9
return
self.items.pop()
Callers
1
is_balanced
Function · 0.95
Calls
1
append
Method · 0.45
Tested by
no test coverage detected