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:
Furkan Onder 2024-10-17 01:42:29 +03:00 committed by GitHub
parent 8e7b2a1161
commit a38fef4439
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -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: