Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/ndleah/python-mini-project
/ dequeue
Method
dequeue
linked_lists/linked_queue.py:32–39 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
30
self._size += 1
31
32
def
dequeue(self):
33
if
self.is_empty():
34
raise
Empty(
"Queue is empty"
)
35
target = self._head._element
36
self._head = self._head._next
37
self._size -= 1
38
39
return
target
Callers
2
a
Function · 0.80
jquery-3.3.1.min.js
File · 0.80
Calls
2
is_empty
Method · 0.95
Empty
Class · 0.70
Tested by
no test coverage detected