Skip to content

Commit 103632f

Browse files
authored
Merge pull request #4351 from tyomitch/patch-2
[readme] minor clarification / deduplication
2 parents a4133c4 + 1d33353 commit 103632f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.rst

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,9 @@ Behavior
113113
- ``code.py`` (or ``main.py``) is run after every reload until it
114114
finishes or is interrupted. After it is done running, the vm and
115115
hardware is reinitialized. **This means you cannot read state from**
116-
``code.py`` **in the REPL anymore.** CircuitPython's goal for this
116+
``code.py`` **in the REPL anymore, as the REPL is a fresh vm.** CircuitPython's goal for this
117117
change includes reducing confusion about pins and memory being used.
118-
- After ``code.py`` the REPL can be entered by pressing any key. It no
119-
longer shares state with ``code.py`` so it is a fresh vm.
118+
- After the main code is finished the REPL can be entered by pressing any key.
120119
- Autoreload state will be maintained across reload.
121120
- Adds a safe mode that does not run user code after a hard crash or
122121
brown out. The hope is that this will make it easier to fix code that
@@ -126,8 +125,7 @@ Behavior
126125
- RGB status LED indicating CircuitPython state, and errors through a sequence of colored flashes.
127126
- Re-runs ``code.py`` or other main file after file system writes over USB mass storage. (Disable with
128127
``supervisor.disable_autoreload()``)
129-
- Entering the REPL after the main code is finished requires a key press which enters the REPL and
130-
disables autoreload.
128+
- Autoreload is disabled while the REPL is active.
131129
- Main is one of these: ``code.txt``, ``code.py``, ``main.py``,
132130
``main.txt``
133131
- Boot is one of these: ``settings.txt``, ``settings.py``, ``boot.py``,

0 commit comments

Comments
 (0)