summaryrefslogtreecommitdiff
path: root/py/obj.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/obj.c')
-rw-r--r--py/obj.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/py/obj.c b/py/obj.c
index 72b7a216b..5601a73fe 100644
--- a/py/obj.c
+++ b/py/obj.c
@@ -76,11 +76,7 @@ void mp_obj_print_helper(const mp_print_t *print, mp_obj_t o_in, mp_print_kind_t
}
void mp_obj_print(mp_obj_t o_in, mp_print_kind_t kind) {
-#if MICROPY_PY_IO
- mp_obj_print_helper(&mp_sys_stdout_print, o_in, kind);
-#else
- mp_obj_print_helper(&mp_plat_print, o_in, kind);
-#endif
+ mp_obj_print_helper(MP_PYTHON_PRINTER, o_in, kind);
}
// helper function to print an exception with traceback