summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Trentini <matt.trentini@gmail.com>2024-04-29 09:18:03 +1000
committerMatt Trentini <matt.trentini@gmail.com>2024-04-29 09:20:28 +1000
commitb1ac266bb5cd0fcfa53539cb3230e7b3f323a09b (patch)
treeaaa61592b169dd9c6a32701f054e0cdb50889809
parente60e8079a7e1f6edd308e2e8981096e42ec6a78c (diff)
docs/develop/optimizations: Fix typo identified in issue 14391.
Signed-off-by: Matt Trentini <matt.trentini@gmail.com>
-rw-r--r--docs/develop/optimizations.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/develop/optimizations.rst b/docs/develop/optimizations.rst
index 7f2c8cbe7..533dd6411 100644
--- a/docs/develop/optimizations.rst
+++ b/docs/develop/optimizations.rst
@@ -33,7 +33,7 @@ Variables
MicroPython processes local and global variables differently. Global variables
are stored and looked up from a global dictionary that is allocated on the heap
(note that each module has its own separate dict, so separate namespace).
-Local variables on the other hand are are stored on the Python value stack, which may
+Local variables on the other hand are stored on the Python value stack, which may
live on the C stack or on the heap. They are accessed directly by their offset
within the Python stack, which is more efficient than a global lookup in a dict.