Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ _put
Method
_put
Lib/queue.py:270–271 ·
view source on GitHub ↗
(self, item)
Source
from the content-addressed store, hash-verified
268
269
# Put a new item in the queue
270
def
_put(self, item):
271
self.queue.append(item)
272
273
# Get an item from the queue
274
def
_get(self):
Callers
1
put
Method · 0.95
Calls
1
append
Method · 0.45
Tested by
no test coverage detected