summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/help.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-03-29 13:43:38 +0000
committerDamien George <damien.p.george@gmail.com>2014-03-29 13:43:38 +0000
commit3e1a5c10c5bf0a38c2ed3b9986b43b8cb8227b2f (patch)
tree76c6f10fcf7d669c52d2b9d84483e8c4f937b9d9 /stmhal/help.c
parent07ddab529cb0953c473d30795e4dc3c6dfff0d89 (diff)
downloadmicropython-3e1a5c10c5bf0a38c2ed3b9986b43b8cb8227b2f.tar.gz
micropython-3e1a5c10c5bf0a38c2ed3b9986b43b8cb8227b2f.zip
py: Rename old const type objects to mp_type_* for consistency.
Diffstat (limited to 'stmhal/help.c')
-rw-r--r--stmhal/help.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}