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

Method put

Lib/Queue.py:107–140  ·  view source on GitHub ↗

Put an item into the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until a free slot is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Full exception if no free sl

(self, item, block=True, timeout=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

testFunction · 0.95
put_nowaitMethod · 0.95
_DB_putFunction · 0.45

Calls 6

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

Tested by

no test coverage detected