aboutsummaryrefslogtreecommitdiff
path: root/py/objnone.c
diff options
context:
space:
mode:
authorian-v <ianv888@gmail.com>2014-01-06 09:52:29 -0800
committerian-v <ianv888@gmail.com>2014-01-06 09:52:29 -0800
commit7a16fadbf843ca5d49fb20b5f5785ffccfd9019f (patch)
tree167d326efc1a1a75d3a371bbeab1a0bc4164fd9e /py/objnone.c
parente03c0533fe467439bae1addd6d2a2ee57a9370e4 (diff)
Co-exist with C++ (issue #85)
Diffstat (limited to 'py/objnone.c')
-rw-r--r--py/objnone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objnone.c b/py/objnone.c
index 877e61fe5..173817a4d 100644
--- a/py/objnone.c
+++ b/py/objnone.c
@@ -18,7 +18,7 @@ const mp_obj_type_t none_type = {
{ &mp_const_type },
"NoneType",
.print = none_print,
- .methods = {{NULL, NULL},},
+ .methods = NULL,
};
static const mp_obj_none_t none_obj = {{&none_type}};