From: Ben Darnell Date: Sun, 30 Dec 2018 18:16:50 +0000 (-0500) Subject: iostream: Update docs X-Git-Tag: v6.0.0b1~9^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89d709a163be8c8151c6ed305e0a85b24879a15f;p=thirdparty%2Ftornado.git iostream: Update docs --- diff --git a/tornado/iostream.py b/tornado/iostream.py index a4025d35f..a9bf977bd 100644 --- a/tornado/iostream.py +++ b/tornado/iostream.py @@ -231,9 +231,9 @@ class BaseIOStream(object): """A utility class to write to and read from a non-blocking file or socket. We support a non-blocking ``write()`` and a family of ``read_*()`` - methods. When the operation completes, the `.Future` will resolve + methods. When the operation completes, the ``Awaitable`` will resolve with the data read (or ``None`` for ``write()``). All outstanding - ``Futures`` will resolve with a `StreamClosedError` when the + ``Awaitables`` will resolve with a `StreamClosedError` when the stream is closed; `.BaseIOStream.set_close_callback` can also be used to be notified of a closed stream.