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

Method copy

Lib/subprocess.py:208–218  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

206 self.lpAttributeList = lpAttributeList or {"handle_list": []}
207
208 def copy(self):
209 attr_list = self.lpAttributeList.copy()
210 if 'handle_list' in attr_list:
211 attr_list['handle_list'] = list(attr_list['handle_list'])
212
213 return STARTUPINFO(dwFlags=self.dwFlags,
214 hStdInput=self.hStdInput,
215 hStdOutput=self.hStdOutput,
216 hStdError=self.hStdError,
217 wShowWindow=self.wShowWindow,
218 lpAttributeList=attr_list)
219
220
221 class Handle(int):

Callers 1

_execute_childMethod · 0.95

Calls 2

listClass · 0.85
STARTUPINFOClass · 0.85

Tested by

no test coverage detected