]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
iostream: Update docs
authorBen Darnell <ben@bendarnell.com>
Sun, 30 Dec 2018 18:16:50 +0000 (13:16 -0500)
committerBen Darnell <ben@bendarnell.com>
Sun, 30 Dec 2018 20:14:36 +0000 (15:14 -0500)
tornado/iostream.py

index a4025d35fbe422dc08b03f56e1a618365b2f1da1..a9bf977bd729133da701ea16cba1c76aeb1d26b2 100644 (file)
@@ -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.