Skip to content

Commit e1352db

Browse files
authored
Update spawn.py
1 parent 0c8e908 commit e1352db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/multiprocessing/spawn.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,10 +233,10 @@ def prepare(data):
233233
for path in data['sys_path']:
234234
if path in sys.path:
235235
sys_path.remove(path)
236-
sys.path.extend(sys_path)
236+
sys.path.extend(sys_path) # For cross-interpreter support
237237

238238
if 'sys_argv' in data:
239-
sys.argv = data['sys_argv'] # For cross-interpreter support
239+
sys.argv = data['sys_argv']
240240

241241
if 'dir' in data:
242242
os.chdir(data['dir'])

0 commit comments

Comments
 (0)