summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/streams.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-01-23 09:20:18 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-01-23 09:20:18 (GMT)
commit3eb45d3eaed3448f9a67ee7936132c464b146178 (patch)
tree238777df824c7ced7cc1405a66ff6dc7636d92af /Lib/asyncio/streams.py
parentd869a0b132308e600534cc56d6e11f63e0c85eda (diff)
downloadcpython-3eb45d3eaed3448f9a67ee7936132c464b146178.zip
cpython-3eb45d3eaed3448f9a67ee7936132c464b146178.tar.gz
cpython-3eb45d3eaed3448f9a67ee7936132c464b146178.tar.bz2
asyncio: Fix open_connection() documentation, writer is a StreamWriter
Diffstat (limited to 'Lib/asyncio/streams.py')
-rw-r--r--Lib/asyncio/streams.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/streams.py b/Lib/asyncio/streams.py
index f01f862..b1648e0 100644
--- a/Lib/asyncio/streams.py
+++ b/Lib/asyncio/streams.py
@@ -21,7 +21,7 @@ def open_connection(host=None, port=None, *,
"""A wrapper for create_connection() returning a (reader, writer) pair.
The reader returned is a StreamReader instance; the writer is a
- Transport.
+ StreamWriter.
The arguments are all the usual arguments to create_connection()
except protocol_factory; most common are positional host and port,