Factor out quoted string print function for reuse (mp_str_print_quoted()).
diff --git a/py/obj.h b/py/obj.h
index 9c6a354..4e2c956 100644
--- a/py/obj.h
+++ b/py/obj.h
@@ -291,6 +291,7 @@
 qstr mp_obj_str_get_qstr(mp_obj_t self_in); // use this if you will anyway convert the string to a qstr
 const char *mp_obj_str_get_str(mp_obj_t self_in); // use this only if you need the string to be null terminated
 const byte *mp_obj_str_get_data(mp_obj_t self_in, uint *len);
+void mp_str_print_quoted(void (*print)(void *env, const char *fmt, ...), void *env, const byte *str_data, uint str_len);
 
 // bytes
 extern const mp_obj_type_t bytes_type;