8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dddc5c9 commit f1c61a6Copy full SHA for f1c61a6
py/objstr.c
@@ -2067,6 +2067,8 @@ mp_obj_t mp_obj_new_str_from_vstr(const mp_obj_type_t *type, vstr_t *vstr) {
2067
vstr->alloc = 0;
2068
return MP_OBJ_NEW_QSTR(q);
2069
}
2070
+ } else {
2071
+ type = &mp_type_bytes;
2072
2073
2074
// make a new str/bytes object
0 commit comments