summaryrefslogtreecommitdiffstatshomepage
path: root/tests/float/builtin_float_round.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-06-01 15:32:23 +1000
committerDamien George <damien.p.george@gmail.com>2017-06-01 16:02:49 +1000
commitbc76302eab56368967af4f1cf8813ac816b9c22f (patch)
tree07e7dc94f5d6597b5a3d43b0397f827a627dd595 /tests/float/builtin_float_round.py
parentb53a63517a71278d0f73f98f4f5ce1b15b14370e (diff)
downloadmicropython-bc76302eab56368967af4f1cf8813ac816b9c22f.tar.gz
micropython-bc76302eab56368967af4f1cf8813ac816b9c22f.zip
py/modbuiltins: Add core-provided version of input() function.
The implementation is taken from stmhal/input.c, with code added to handle ctrl-C. This built-in is controlled by MICROPY_PY_BUILTINS_INPUT and is disabled by default. It uses readline() to capture input but this can be overridden by defining the mp_hal_readline macro.
Diffstat (limited to 'tests/float/builtin_float_round.py')
0 files changed, 0 insertions, 0 deletions