Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ Pipe
Function
Pipe
Lib/multiprocessing/dummy/connection.py:46–48 ·
view source on GitHub ↗
(duplex=True)
Source
from the content-addressed store, hash-verified
44
45
46
def
Pipe(duplex=True):
47
a, b = Queue(), Queue()
48
return
Connection(a, b), Connection(b, a)
49
50
51
class
Connection(object):
Callers
nothing calls this directly
Calls
2
Queue
Class · 0.90
Connection
Class · 0.70
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…