Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_exceptions
Method · 0.95
test_close
Method · 0.95
test_closed
Method · 0.95
Calls
1
close
Method · 0.45
Tested by
3
test_empty_exceptions
Method · 0.76
test_close
Method · 0.76
test_closed
Method · 0.76