Skip to content

Commit b67d098

Browse files
committed
py/modbuiltins: __repl_print__: Add comment about setting "_" special var.
1 parent eec8a94 commit b67d098

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

py/modbuiltins.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ STATIC mp_obj_t mp_builtin___repl_print__(mp_obj_t o) {
439439
mp_print_str(&mp_plat_print, "\n");
440440
#endif
441441
#if MICROPY_CAN_OVERRIDE_BUILTINS
442+
// Set "_" special variable
442443
mp_obj_t dest[2] = {MP_OBJ_SENTINEL, o};
443444
mp_type_module.attr(MP_OBJ_FROM_PTR(&mp_module_builtins), MP_QSTR__, dest);
444445
#endif

0 commit comments

Comments
 (0)