mirror of https://github.com/python/cpython
gh-125620: Remove unnecessary import of subprocess in spawnv_passfds (#125624)
Remove unnecessary import of subprocess in multiprocessing.util.spawnv_passfds.
This commit is contained in:
parent
8e7b2a1161
commit
a38fef4439
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue