mirror of
https://github.com/python/cpython.git
synced 2025-10-09 08:31:26 +00:00
Remove unused or redundant imports in concurrent.futures and multiprocessing.
This commit is contained in:
parent
f8240d6564
commit
04842a84c3
12 changed files with 7 additions and 28 deletions
|
@ -41,7 +41,6 @@ import socket
|
|||
import threading
|
||||
import struct
|
||||
|
||||
import _multiprocessing
|
||||
from multiprocessing import current_process
|
||||
from multiprocessing.forking import Popen, duplicate, close, ForkingPickler
|
||||
from multiprocessing.util import register_after_fork, debug, sub_debug
|
||||
|
@ -61,7 +60,6 @@ if not(sys.platform == 'win32' or (hasattr(socket, 'CMSG_LEN') and
|
|||
#
|
||||
|
||||
if sys.platform == 'win32':
|
||||
import _subprocess
|
||||
from _multiprocessing import win32
|
||||
|
||||
def send_handle(conn, handle, destination_pid):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue