From 8175f1608eddc61c495c9163aebcc3c90549b9c4 Mon Sep 17 00:00:00 2001
From: Paul Sokolovsky <pfalcon@users.sourceforge.net>
Date: Sun, 3 Dec 2017 18:56:18 +0200
Subject: [PATCH] docs/glossary: Describe "stream" term.

---
 docs/reference/glossary.rst | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/docs/reference/glossary.rst b/docs/reference/glossary.rst
index b6153550c..d9650bdd8 100644
--- a/docs/reference/glossary.rst
+++ b/docs/reference/glossary.rst
@@ -120,6 +120,16 @@ Glossary
         from context, it's recommended to use full specification like one
         of the above.
 
+    stream
+        Also known as a "file-like object". An object which provides sequential
+        read-write access to the underlying data. A stream object implements
+        a corresponding interface, which consists of methods like ``read()``,
+        ``write()``, ``readinto()``, ``seek()``, ``flush()``, ``close()``, etc.
+        A stream is an important concept in MicroPython, many I/O objects
+        implement the stream interface, and thus can be used consistently and
+        interchangeably in different contexts. For more information on
+        streams in MicroPython, see `uio` module.
+
     upip
         (Literally, "micro pip"). A package manage for MicroPython, inspired
         by :term:`CPython`'s pip, but much smaller and with reduced functionality.
-- 
GitLab