bpo-32154: Remove asyncio.windows_utils.socketpair (#4609)

This commit is contained in:
Victor Stinner 2017-11-28 21:33:20 +01:00 committed by GitHub
parent 4d193bcc25
commit ac577d7d0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 21 additions and 123 deletions

View file

@ -426,10 +426,7 @@ Coroutine waiting until a socket receives data using the
:func:`open_connection` function::
import asyncio
try:
from socket import socketpair
except ImportError:
from asyncio.windows_utils import socketpair
from socket import socketpair
@asyncio.coroutine
def wait_for_data(loop):