aboutsummaryrefslogtreecommitdiff
path: root/py/objdict.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-09-27 15:14:12 +1000
committerDamien George <damien.p.george@gmail.com>2018-09-27 15:14:12 +1000
commit814f17a3a4721fae567f7b63e31c87dce5f4383e (patch)
treeedf49caec0465e94d418c6d35453872b0a6b50d8 /py/objdict.c
parentbaa83a0c6d483baec4ea7e3725d60ac924338233 (diff)
py/objdict: Reword TODO about inlining mp_obj_dict_get to a note.
Diffstat (limited to 'py/objdict.c')
-rw-r--r--py/objdict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objdict.c b/py/objdict.c
index 9a6fd74e2..6ecd7f6a7 100644
--- a/py/objdict.c
+++ b/py/objdict.c
@@ -160,7 +160,7 @@ STATIC mp_obj_t dict_binary_op(mp_binary_op_t op, mp_obj_t lhs_in, mp_obj_t rhs_
}
}
-// TODO: Make sure this is inlined in dict_subscr() below.
+// Note: Make sure this is inlined in load part of dict_subscr() below.
mp_obj_t mp_obj_dict_get(mp_obj_t self_in, mp_obj_t index) {
mp_obj_dict_t *self = MP_OBJ_TO_PTR(self_in);
mp_map_elem_t *elem = mp_map_lookup(&self->map, index, MP_MAP_LOOKUP);