mirror of
https://github.com/micropython/micropython.git
synced 2026-01-08 21:20:13 +01:00
This improves REPL usage consistency across ports, by utilizing the pyexec code for the unix REPL. Only enabled when MICROPY_USE_READLINE == 1 (the default). Signed-off-by: Andrew Leech <andrew.leech@planetinnovation.com.au>
6 lines
86 B
Python
6 lines
86 B
Python
# cmdline:
|
|
# test sys.exit(None) - should exit with code 0
|
|
import sys
|
|
|
|
sys.exit(None)
|