Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ get
Method
get
example_code/item_070.py:78–80 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
76
77
print(
"Example 4"
)
78
def
get(self):
79
with
self.lock:
80
return
self.items.popleft()
81
82
83
print(
"Example 5"
)
Callers
5
run
Method · 0.45
consumer
Function · 0.45
run
Method · 0.45
item_070.py
File · 0.45
drain_queue
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected