diff options
Diffstat (limited to 'stmhal/help.c')
-rw-r--r-- | stmhal/help.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/help.c b/stmhal/help.c index 5cedac9d9..3ab69ec62 100644 --- a/stmhal/help.c +++ b/stmhal/help.c @@ -68,7 +68,7 @@ STATIC mp_obj_t pyb_help(uint n_args, const mp_obj_t *args) { } else { type = mp_obj_get_type(args[0]); } - if (type->locals_dict != MP_OBJ_NULL && MP_OBJ_IS_TYPE(type->locals_dict, &dict_type)) { + if (type->locals_dict != MP_OBJ_NULL && MP_OBJ_IS_TYPE(type->locals_dict, &mp_type_dict)) { map = mp_obj_dict_get_map(type->locals_dict); } } |