MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / __len__

Method __len__

Python/queue via stack.py:7–8  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

5 self.list=[]
6
7 def __len__(self):
8 return len(self.list)
9
10 def push(self,item):
11 self.list.append(item)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected