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

Method duplicate_for_child

Lib/multiprocessing/popen_spawn_win32.py:101–103  ·  view source on GitHub ↗
(self, handle)

Source from the content-addressed store, hash-verified

99 set_spawning_popen(None)
100
101 def duplicate_for_child(self, handle):
102 assert self is get_spawning_popen()
103 return reduction.duplicate(handle, self.sentinel)
104
105 def wait(self, timeout=None):
106 if self.returncode is not None:

Callers

nothing calls this directly

Calls 2

get_spawning_popenFunction · 0.85
duplicateMethod · 0.80

Tested by

no test coverage detected