Properly print MP_OBJ_QSTR objects.
diff --git a/py/obj.c b/py/obj.c
index f90c67b..42f86cf 100644
--- a/py/obj.c
+++ b/py/obj.c
@@ -44,6 +44,8 @@
void mp_obj_print_helper(void (*print)(void *env, const char *fmt, ...), void *env, mp_obj_t o_in, mp_print_kind_t kind) {
if (MP_OBJ_IS_SMALL_INT(o_in)) {
print(env, "%d", (int)MP_OBJ_SMALL_INT_VALUE(o_in));
+ } else if (MP_OBJ_IS_QSTR(o_in)) {
+ mp_obj_str_print_qstr(print, env, MP_OBJ_QSTR_VALUE(o_in), kind);
} else {
mp_obj_base_t *o = o_in;
if (o->type->print != NULL) {