diff options
Diffstat (limited to 'py/objfun.c')
-rw-r--r-- | py/objfun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objfun.c b/py/objfun.c index 8b9d3f553b..77db2df501 100644 --- a/py/objfun.c +++ b/py/objfun.c @@ -128,7 +128,7 @@ qstr mp_obj_fun_get_name(mp_const_obj_t fun_in) { STATIC void fun_bc_print(const mp_print_t *print, mp_obj_t o_in, mp_print_kind_t kind) { (void)kind; mp_obj_fun_bc_t *o = o_in; - mp_printf(print, "<function %s at 0x%x>", qstr_str(mp_obj_fun_get_name(o)), o); + mp_printf(print, "<function %q at 0x%x>", mp_obj_fun_get_name(o), o); } #endif |