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/objfloat.c | |
parent | 270112f7312f724e46ae34649dfce3ec43b697e0 (diff) | |
download | micropython-3391e190680d3625a166bb6573df26e1bda30af2.tar.gz micropython-3391e190680d3625a166bb6573df26e1bda30af2.zip |
A bit of stylistic cleanup (chose the wrong side during conflict resolution).
Diffstat (limited to 'py/objfloat.c')
-rw-r--r-- | py/objfloat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/objfloat.c b/py/objfloat.c index 4b51971814..d21472d5d6 100644 --- a/py/objfloat.c +++ b/py/objfloat.c @@ -62,8 +62,8 @@ static mp_obj_t float_binary_op(int op, mp_obj_t lhs_in, mp_obj_t rhs_in) { } const mp_obj_type_t float_type = { - .base = { &mp_const_type }, - .name = "float", + { &mp_const_type }, + "float", .print = float_print, .make_new = float_make_new, .unary_op = float_unary_op, |