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

Method submit

Lib/test/_test_multiprocessing.py:1074–1077  ·  view source on GitHub ↗
(self, s)

Source from the content-addressed store, hash-verified

1072 self.child_conn.close()
1073
1074 def submit(self, s):
1075 assert type(s) is str
1076 self.parent_conn.send(s)
1077 return self.parent_conn.recv()
1078
1079 def stop(self):
1080 self.parent_conn.send(None)

Callers 2

test_subclassingMethod · 0.45

Calls 2

sendMethod · 0.45
recvMethod · 0.45

Tested by

no test coverage detected