diff options
author | Damien George <damien.p.george@gmail.com> | 2020-02-20 00:17:13 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-02-28 10:29:27 +1100 |
commit | a1b18b3ba7ccbf2c4d73608079844d89360688a3 (patch) | |
tree | 00ffb10d1bbe77227350e7019759c5a67917a1e7 /py/objdict.c | |
parent | 4b23e98fb0851eb74ec269022a1e86702e387b23 (diff) |
py: Removing dangling "else" to improve code format consistency.
Diffstat (limited to 'py/objdict.c')
-rw-r--r-- | py/objdict.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/py/objdict.c b/py/objdict.c index 7a43a8548..f831a0488 100644 --- a/py/objdict.c +++ b/py/objdict.c @@ -141,8 +141,9 @@ STATIC mp_obj_t dict_binary_op(mp_binary_op_t op, mp_obj_t lhs_in, mp_obj_t rhs_ } } return e1 == NULL && e2 == NULL ? mp_const_true : mp_const_false; - } else + } #endif + if (mp_obj_is_type(rhs_in, &mp_type_dict)) { mp_obj_dict_t *rhs = MP_OBJ_TO_PTR(rhs_in); if (o->map.used != rhs->map.used) { |