mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 11:40:18 +01:00
The do_str() function is provided essentially as documentation to show how to compile and execute a string. This patch makes do_str take an extra arg to specify how the string should be interpreted: either as a single line (ie from a REPL) or as multiple lines (ie from a file).