summaryrefslogtreecommitdiff
path: root/py/objtuple.c
diff options
context:
space:
mode:
authorJohn R. Lenton <jlenton@gmail.com>2014-01-07 18:06:34 +0000
committerJohn R. Lenton <jlenton@gmail.com>2014-01-07 18:06:34 +0000
commit3391e190680d3625a166bb6573df26e1bda30af2 (patch)
tree8a226465b63dfeaa3039e50532cd2880f17835bb /py/objtuple.c
parent270112f7312f724e46ae34649dfce3ec43b697e0 (diff)
A bit of stylistic cleanup (chose the wrong side during conflict resolution).
Diffstat (limited to 'py/objtuple.c')
-rw-r--r--py/objtuple.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/py/objtuple.c b/py/objtuple.c
index e96f76aea..0050fc5ea 100644
--- a/py/objtuple.c
+++ b/py/objtuple.c
@@ -97,8 +97,8 @@ static mp_obj_t tuple_getiter(mp_obj_t o_in) {
}
const mp_obj_type_t tuple_type = {
- .base = { &mp_const_type },
- .name = "tuple",
+ { &mp_const_type },
+ "tuple",
.print = tuple_print,
.make_new = tuple_make_new,
.binary_op = tuple_binary_op,
@@ -162,8 +162,8 @@ static mp_obj_t tuple_it_iternext(mp_obj_t self_in) {
}
static const mp_obj_type_t tuple_it_type = {
- .base = { &mp_const_type },
- .name = "tuple_iterator",
+ { &mp_const_type },
+ "tuple_iterator",
.iternext = tuple_it_iternext,
};