MCPcopy Create free account
hub / github.com/RustPython/RustPython / _put

Method _put

Lib/asyncio/queues.py:290–291  ·  view source on GitHub ↗
(self, item, heappush=heapq.heappush)

Source from the content-addressed store, hash-verified

288 self._queue = []
289
290 def _put(self, item, heappush=heapq.heappush):
291 heappush(self._queue, item)
292
293 def _get(self, heappop=heapq.heappop):
294 return heappop(self._queue)

Callers

nothing calls this directly

Calls 1

heappushFunction · 0.85

Tested by

no test coverage detected