summaryrefslogtreecommitdiffstatshomepage
path: root/py/objint.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/objint.c
parent270112f7312f724e46ae34649dfce3ec43b697e0 (diff)
downloadmicropython-3391e190680d3625a166bb6573df26e1bda30af2.tar.gz
micropython-3391e190680d3625a166bb6573df26e1bda30af2.zip
A bit of stylistic cleanup (chose the wrong side during conflict resolution).
Diffstat (limited to 'py/objint.c')
-rw-r--r--py/objint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/objint.c b/py/objint.c
index cf51b7870a..9cd5ebae29 100644
--- a/py/objint.c
+++ b/py/objint.c
@@ -31,8 +31,8 @@ static mp_obj_t int_make_new(mp_obj_t type_in, int n_args, const mp_obj_t *args)
}
const mp_obj_type_t int_type = {
- .base = { &mp_const_type },
- .name = "int",
+ { &mp_const_type },
+ "int",
.make_new = int_make_new,
};