summaryrefslogtreecommitdiffstatshomepage
path: root/py/objnone.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/objnone.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/objnone.c')
-rw-r--r--py/objnone.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/objnone.c b/py/objnone.c
index dc93c25e2d..c0efe6c0f5 100644
--- a/py/objnone.c
+++ b/py/objnone.c
@@ -15,8 +15,8 @@ void none_print(void (*print)(void *env, const char *fmt, ...), void *env, mp_ob
}
const mp_obj_type_t none_type = {
- .base = { &mp_const_type },
- .name = "NoneType",
+ { &mp_const_type },
+ "NoneType",
.print = none_print,
};