diff options
author | David Lechner <david@pybricks.com> | 2020-01-15 12:05:06 -0600 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-02-04 17:52:58 +1100 |
commit | 122baa678733636336689feeb4e2c8b4807649db (patch) | |
tree | a82231eef276d4c3e6d250c65561bbcd6b9f419e /py/modmicropython.c | |
parent | bc3ce86a5ab5bf697e2d7a88940020953cafdb82 (diff) |
unix/main: Add support for MICROPYINSPECT environment variable.
This adds support for a MICROPYINSPECT environment variable that works
exactly like PYTHONINSPECT; per CPython docs:
If this is set to a non-empty string it is equivalent to specifying the
-i option.
This variable can also be modified by Python code using os.environ to
force inspect mode on program termination.
Diffstat (limited to 'py/modmicropython.c')
0 files changed, 0 insertions, 0 deletions