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

Method _child_strings

Lib/test/_test_multiprocessing.py:4078–4082  ·  view source on GitHub ↗
(cls, conn, strings)

Source from the content-addressed store, hash-verified

4076
4077 @classmethod
4078 def _child_strings(cls, conn, strings):
4079 for s in strings:
4080 time.sleep(0.1)
4081 conn.send_bytes(s)
4082 conn.close()
4083
4084 @warnings_helper.ignore_fork_in_thread_deprecation_warnings()
4085 def test_strings(self):

Callers

nothing calls this directly

Calls 3

sleepMethod · 0.45
send_bytesMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected