Skip to content

Commit

Permalink
Remove unnecessary import of subprocess in spawnv_passfds
Browse files Browse the repository at this point in the history
  • Loading branch information
furkanonder committed Oct 16, 2024
1 parent fcef3fc commit 5f0b578
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Lib/multiprocessing/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,6 @@ def _flush_std_streams():

def spawnv_passfds(path, args, passfds):
import _posixsubprocess
import subprocess
passfds = tuple(sorted(map(int, passfds)))
errpipe_read, errpipe_write = os.pipe()
try:
Expand Down

0 comments on commit 5f0b578

Please sign in to comment.