Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Data-Structures-and-Algorithms
/ nr_of_items
Method
nr_of_items
Python/Turtle.py:847–848 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
845
self.ptr = (self.ptr - 1) % self.bufsize
846
return
(item)
847
def
nr_of_items(self):
848
return
self.bufsize - self.buffer.count([None])
849
def
__repr__(self):
850
return
str(self.buffer) +
" "
+ str(self.ptr)
851
Callers
1
undobufferentries
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected