From 3e1a5c10c5bf0a38c2ed3b9986b43b8cb8227b2f Mon Sep 17 00:00:00 2001 From: Damien George Date: Sat, 29 Mar 2014 13:43:38 +0000 Subject: py: Rename old const type objects to mp_type_* for consistency. --- stmhal/help.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stmhal/help.c') diff --git a/stmhal/help.c b/stmhal/help.c index 5cedac9d93..3ab69ec622 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); } } -- cgit v1.2.3