8000 gh-125620: Remove unnecessary import of subprocess in spawnv_passfds … · python/cpython@a38fef4 · GitHub
[go: up one dir, main page]

Skip to content

Commit a38fef4

Browse files
authored
gh-125620: Remove unnecessary import of subprocess in spawnv_passfds (#125624)
Remove unnecessary import of subprocess in multiprocessing.util.spawnv_passfds.
1 parent 8e7b2a1 commit a38fef4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Lib/multiprocessing/util.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,6 @@ def _flush_std_streams():
438438

439439
def spawnv_passfds(path, args, passfds):
440440
import _posixsubprocess
441-
import subprocess
442441
passfds = tuple(sorted(map(int, passfds)))
443442
errpipe_read, errpipe_write = os.pipe()
444443
try:

0 commit comments

Comments
 (0)
0