summaryrefslogtreecommitdiff
path: root/py/objstr.h
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2022-03-25 11:57:59 +1100
committerDamien George <damien@micropython.org>2022-03-28 16:09:58 +1100
commitb312a7abf5504d0e68846d5728c09899119f2621 (patch)
tree5867d964dec1c41aab7c4a0ce8e23a041404ccd6 /py/objstr.h
parent6d11c69983f8084459e5bb037d931d5e2d283c78 (diff)
py/builtinimport: Alias sys to usys if import weak links aren't enabled.
The sys module should always be available (if it's compiled in), eg to change sys.path for importing. So provide an explicit alias from "sys" to "usys" so that "import sys" can always work. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/objstr.h')
0 files changed, 0 insertions, 0 deletions