aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDamien George2020-04-02 00:51:00 +1100
committerDamien George2020-04-02 00:51:00 +1100
commitf97b5395ed4b03d8cce6fda0c4b41d8118843690 (patch)
tree3703e9b385ab28eab0d33dca41eb32a688fc4754 /docs
parentaca19c25d250b8abb91211e2392e01b5611325c9 (diff)
extmod/uasyncio: Add StreamReader/StreamWriter as aliases of Stream cls.
To be compatible with CPython. Fixes issue #5847.
Diffstat (limited to 'docs')
-rw-r--r--docs/library/uasyncio.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/library/uasyncio.rst b/docs/library/uasyncio.rst
index ff3232ebd..c0d0e85d7 100644
--- a/docs/library/uasyncio.rst
+++ b/docs/library/uasyncio.rst
@@ -177,7 +177,8 @@ TCP stream connections
.. class:: Stream()
This represents a TCP stream connection. To minimise code this class implements
- both a reader and a writer.
+ both a reader and a writer, and both ``StreamReader`` and ``StreamWriter`` alias to
+ this class.
.. method:: Stream.get_extra_info(v)