asyncio: Fix open_connection() documentation, writer is a StreamWriter

This commit is contained in:
Victor Stinner 2014-01-23 10:20:18 +01:00
parent d869a0b132
commit 3eb45d3eae
2 changed files with 4 additions and 4 deletions

View file

@ -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,