Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Data-Structures-and-Algorithms
/ __init__
Method
__init__
Python/queue via stack.py:4–5 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
2
3
class
Stack():
4
def
__init__(self):
5
self.list=[]
6
7
def
__len__(self):
8
return
len(self.list)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected