summaryrefslogtreecommitdiff
path: root/asyncio/streams.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-01-23 10:21:32 +0100
committerVictor Stinner <victor.stinner@gmail.com>2014-01-23 10:21:32 +0100
commit8c62884469fff8a6e9cadcdff85ec60fb0d5fd70 (patch)
tree6d3af9168132d7dd22fa20208f4b1eadf52a216f /asyncio/streams.py
parent7d7cd62df6ed616494e66dee1b53cbcf2107bf1d (diff)
downloadtrollius-8c62884469fff8a6e9cadcdff85ec60fb0d5fd70.tar.gz
Fix open_connection() docstring, writer is a StreamWriter
Diffstat (limited to 'asyncio/streams.py')
-rw-r--r--asyncio/streams.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/asyncio/streams.py b/asyncio/streams.py
index f01f862..cd0c4ff 100644
--- a/asyncio/streams.py
+++ b/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 instance.
The arguments are all the usual arguments to create_connection()
except protocol_factory; most common are positional host and port,