proto: Use %q format-string shortcut
This commit is contained in:
parent
e2f319fc6b
commit
49a547eed8
|
@ -45,6 +45,6 @@ const void *mp_proto_get_or_throw(uint16_t name, mp_const_obj_t obj) {
|
|||
if (proto) {
|
||||
return proto;
|
||||
}
|
||||
mp_raise_TypeError_varg(translate("'%s' object does not support '%s'"),
|
||||
mp_obj_get_type_str(obj), qstr_str(name));
|
||||
mp_raise_TypeError_varg(translate("'%s' object does not support '%q'"),
|
||||
mp_obj_get_type_str(obj), name);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue