Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustPython/RustPython
/ _put
Method
_put
Lib/queue.py:292–293 ·
view source on GitHub ↗
(self, item)
Source
from the content-addressed store, hash-verified
290
return
len(self.queue)
291
292
def
_put(self, item):
293
heappush(self.queue, item)
294
295
def
_get(self):
296
return
heappop(self.queue)
Callers
nothing calls this directly
Calls
1
heappush
Function · 0.90
Tested by
no test coverage detected