diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-11-28 20:33:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-28 20:33:20 (GMT) |
commit | ac577d7d0bd27a69921ced14c09172235ceebab5 (patch) | |
tree | 0d8e39b6dbab0cd260764fa8acaf0390a8c509b6 /Doc/library/asyncio-stream.rst | |
parent | 4d193bcc2560b824389e4d98d9d8b9b34e33dbaf (diff) | |
download | cpython-ac577d7d0bd27a69921ced14c09172235ceebab5.zip cpython-ac577d7d0bd27a69921ced14c09172235ceebab5.tar.gz cpython-ac577d7d0bd27a69921ced14c09172235ceebab5.tar.bz2 |
bpo-32154: Remove asyncio.windows_utils.socketpair (#4609)
Diffstat (limited to 'Doc/library/asyncio-stream.rst')
-rw-r--r-- | Doc/library/asyncio-stream.rst | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Doc/library/asyncio-stream.rst b/Doc/library/asyncio-stream.rst index 491afdd..78091d6 100644 --- a/Doc/library/asyncio-stream.rst +++ b/Doc/library/asyncio-stream.rst @@ -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): |