Skip to content
Snippets Groups Projects
Commit b67d0988 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

py/modbuiltins: __repl_print__: Add comment about setting "_" special var.

parent eec8a94f
No related branches found
No related tags found
No related merge requests found
......@@ -439,6 +439,7 @@ STATIC mp_obj_t mp_builtin___repl_print__(mp_obj_t o) {
mp_print_str(&mp_plat_print, "\n");
#endif
#if MICROPY_CAN_OVERRIDE_BUILTINS
// Set "_" special variable
mp_obj_t dest[2] = {MP_OBJ_SENTINEL, o};
mp_type_module.attr(MP_OBJ_FROM_PTR(&mp_module_builtins), MP_QSTR__, dest);
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment