MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / get

Method get

Lib/Queue.py:150–182  ·  view source on GitHub ↗

Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if

(self, block=True, timeout=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

test_queueFunction · 0.95
testFunction · 0.95
get_nowaitMethod · 0.95

Calls 6

_qsizeMethod · 0.95
_getMethod · 0.95
acquireMethod · 0.45
waitMethod · 0.45
notifyMethod · 0.45
releaseMethod · 0.45

Tested by 1

test_queueFunction · 0.76