Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ duplicate_for_child
Method
duplicate_for_child
Lib/multiprocessing/popen_fork.py:22–23 ·
view source on GitHub ↗
(self, fd)
Source
from the content-addressed store, hash-verified
20
self._launch(process_obj)
21
22
def
duplicate_for_child(self, fd):
23
return
fd
24
25
def
poll(self, flag=os.WNOHANG):
26
if
self.returncode is None:
Callers
2
DupFd
Function · 0.45
__getstate__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected