MCPcopy Index your code
hub / github.com/RustPython/RustPython / run

Method run

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

Source from the content-addressed store, hash-verified

922 self.child_conn, self.parent_conn = multiprocessing.Pipe()
923
924 def run(self):
925 self.parent_conn.close()
926 for s in iter(self.child_conn.recv, None):
927 self.child_conn.send(s.upper())
928 self.child_conn.close()
929
930 def submit(self, s):
931 assert type(s) is str

Callers

nothing calls this directly

Calls 4

iterFunction · 0.85
closeMethod · 0.45
sendMethod · 0.45
upperMethod · 0.45

Tested by

no test coverage detected