summaryrefslogtreecommitdiffstats
path: root/Doc/library/asyncio-stream.rst
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-11-28 20:33:20 (GMT)
committerGitHub <noreply@github.com>2017-11-28 20:33:20 (GMT)
commitac577d7d0bd27a69921ced14c09172235ceebab5 (patch)
tree0d8e39b6dbab0cd260764fa8acaf0390a8c509b6 /Doc/library/asyncio-stream.rst
parent4d193bcc2560b824389e4d98d9d8b9b34e33dbaf (diff)
downloadcpython-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.rst5
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):