diff options
author | John R. Lenton <jlenton@gmail.com> | 2014-01-07 18:06:34 +0000 |
---|---|---|
committer | John R. Lenton <jlenton@gmail.com> | 2014-01-07 18:06:34 +0000 |
commit | 3391e190680d3625a166bb6573df26e1bda30af2 (patch) | |
tree | 8a226465b63dfeaa3039e50532cd2880f17835bb /py/objlist.c | |
parent | 270112f7312f724e46ae34649dfce3ec43b697e0 (diff) |
A bit of stylistic cleanup (chose the wrong side during conflict resolution).
Diffstat (limited to 'py/objlist.c')
-rw-r--r-- | py/objlist.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/py/objlist.c b/py/objlist.c index 0446412e8..5162fa09f 100644 --- a/py/objlist.c +++ b/py/objlist.c @@ -293,8 +293,8 @@ static const mp_method_t list_type_methods[] = { }; const mp_obj_type_t list_type = { - .base = { &mp_const_type }, - .name = "list", + { &mp_const_type }, + "list", .print = list_print, .make_new = list_make_new, .binary_op = list_binary_op, @@ -360,8 +360,8 @@ mp_obj_t list_it_iternext(mp_obj_t self_in) { } static const mp_obj_type_t list_it_type = { - .base = { &mp_const_type }, - .name = "list_iterator", + { &mp_const_type }, + "list_iterator", .iternext = list_it_iternext, }; |