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

Method run

Lib/test/_test_multiprocessing.py:1068–1072  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1066 self.child_conn, self.parent_conn = multiprocessing.Pipe()
1067
1068 def run(self):
1069 self.parent_conn.close()
1070 for s in iter(self.child_conn.recv, None):
1071 self.child_conn.send(s.upper())
1072 self.child_conn.close()
1073
1074 def submit(self, s):
1075 assert type(s) is str

Callers

nothing calls this directly

Calls 3

closeMethod · 0.45
sendMethod · 0.45
upperMethod · 0.45

Tested by

no test coverage detected