From 89d709a163be8c8151c6ed305e0a85b24879a15f Mon Sep 17 00:00:00 2001 From: Ben Darnell Date: Sun, 30 Dec 2018 13:16:50 -0500 Subject: [PATCH] iostream: Update docs --- tornado/iostream.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.47.2