Skip to content

Commit f3999c4

Browse files
committed
docs/porting: Update session log.
This updates session log to be in line with behavior of latest ports/minimal. Signed-off-by: Yanfeng Liu <[email protected]>
1 parent c9b52b2 commit f3999c4

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/develop/porting.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -244,10 +244,12 @@ That should give a MicroPython REPL. You can then run commands like:
244244

245245
.. code-block:: bash
246246
247-
MicroPython v1.13 on 2021-01-01; example-board with unknown-cpu
248-
>>> import sys
249-
>>> sys.implementation
250-
('micropython', (1, 13, 0))
247+
MicroPython v1.26.0-preview on 2025-08-01; minimal with unknown-cpu
248+
>>> def sum(n,m):
249+
... return n+m
250+
...
251+
>>> 3,4,sum(3,4)
252+
(3, 4, 7)
251253
>>>
252254
253255
Use Ctrl-D to exit, and then run ``reset`` to reset the terminal.

0 commit comments

Comments
 (0)