mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
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
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue