py: Add support for _ in REPL to hold last computed value.

Only available when MICROPY_CAN_OVERRIDE_BUILTINS is enabled.
This commit is contained in:
Damien George
2015-10-12 21:49:03 +01:00
parent e813541e3f
commit 035a0a2b6e
2 changed files with 5 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ QCFG(BYTES_IN_HASH, MICROPY_QSTR_BYTES_IN_HASH)
Q()
Q(*)
Q(_)
Q(__build_class__)
Q(__class__)
Q(__doc__)