MCPcopy Index your code
hub / github.com/python/cpython / close

Method close

Lib/multiprocessing/queues.py:368–370  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

366 self._wlock = ctx.Lock()
367
368 def close(self):
369 self._reader.close()
370 self._writer.close()
371
372 def empty(self):
373 return not self._poll()

Callers 3

test_empty_exceptionsMethod · 0.95
test_closeMethod · 0.95
test_closedMethod · 0.95

Calls 1

closeMethod · 0.45

Tested by 3

test_empty_exceptionsMethod · 0.76
test_closeMethod · 0.76
test_closedMethod · 0.76