modbuiltins.c: Fix NULL vs MP_OBJ_NULL usage.
This commit is contained in:
parent
ff8e35b42e
commit
ed3b20aae8
|
@ -141,7 +141,7 @@ MP_DEFINE_CONST_FUN_OBJ_1(mp_builtin_any_obj, mp_builtin_any);
|
||||||
|
|
||||||
STATIC mp_obj_t mp_builtin_bin(mp_obj_t o_in) {
|
STATIC mp_obj_t mp_builtin_bin(mp_obj_t o_in) {
|
||||||
mp_obj_t args[] = { MP_OBJ_NEW_QSTR(MP_QSTR__brace_open__colon__hash_b_brace_close_), o_in };
|
mp_obj_t args[] = { MP_OBJ_NEW_QSTR(MP_QSTR__brace_open__colon__hash_b_brace_close_), o_in };
|
||||||
return mp_obj_str_format(MP_ARRAY_SIZE(args), args, MP_OBJ_NULL);
|
return mp_obj_str_format(MP_ARRAY_SIZE(args), args, NULL);
|
||||||
}
|
}
|
||||||
MP_DEFINE_CONST_FUN_OBJ_1(mp_builtin_bin_obj, mp_builtin_bin);
|
MP_DEFINE_CONST_FUN_OBJ_1(mp_builtin_bin_obj, mp_builtin_bin);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue