summaryrefslogtreecommitdiff
path: root/docs/reference
diff options
context:
space:
mode:
Diffstat (limited to 'docs/reference')
-rw-r--r--docs/reference/glossary.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/reference/glossary.rst b/docs/reference/glossary.rst
index efaa8f607..ab0b22049 100644
--- a/docs/reference/glossary.rst
+++ b/docs/reference/glossary.rst
@@ -188,6 +188,13 @@ Glossary
Most MicroPython boards make a REPL available over a UART, and this is
typically accessible on a host PC via USB.
+ small integer
+ MicroPython optimises the internal representation of integers such that
+ "small" values do not take up space on the heap, and calculations with
+ them do not require heap allocation. On most 32-bit ports, this
+ corresponds to values in the interval ``-2**30 <= x < 2**30``, but this
+ should be considered an implementation detail and not relied upon.
+
stream
Also known as a "file-like object". A Python object which provides
sequential read-write access to the underlying data. A stream object