Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/BeeBombshell/Python-DSA
/ is_empty
Method
is_empty
DSA/deque.py:26–27 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
24
return
len(self) >= self.length - 1
25
26
def
is_empty(self):
27
return
len(self) == 0
28
29
def
append(self, x):
30
if
self.is_full():
Callers
3
pop
Method · 0.95
popleft
Method · 0.95
deque.py
File · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected