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

Method Pipe

Lib/multiprocessing/context.py:60–63  ·  view source on GitHub ↗

Returns two connection object connected by a pipe

(self, duplex=True)

Source from the content-addressed store, hash-verified

58 return m
59
60 def Pipe(self, duplex=True):
61 '''Returns two connection object connected by a pipe'''
62 from .connection import Pipe
63 return Pipe(duplex)
64
65 def Lock(self):
66 '''Returns a non-recursive lock object'''

Callers 15

test_parent_processMethod · 0.80
test_recursionMethod · 0.80
__init__Method · 0.80
test_thousandMethod · 0.80
test_connectionMethod · 0.80
test_duplex_falseMethod · 0.80
test_spawn_closeMethod · 0.80
test_sendbytesMethod · 0.80
test_fd_transferMethod · 0.80

Calls 1

PipeFunction · 0.70

Tested by 15

test_parent_processMethod · 0.64
test_recursionMethod · 0.64
__init__Method · 0.64
test_thousandMethod · 0.64
test_connectionMethod · 0.64
test_duplex_falseMethod · 0.64
test_spawn_closeMethod · 0.64
test_sendbytesMethod · 0.64
test_fd_transferMethod · 0.64