diff options
author | John R. Lenton <jlenton@gmail.com> | 2014-01-06 00:08:21 +0000 |
---|---|---|
committer | John R. Lenton <jlenton@gmail.com> | 2014-01-06 00:08:21 +0000 |
commit | a10dba75090b38919790d1c3ad8bb9d2c126b7f4 (patch) | |
tree | 6750678d47844bb3918b4012a8af41cd989eeda5 /py/objrange.c | |
parent | ba3f87c94776538fece5e87ff1d7de547930397a (diff) | |
parent | 8137b004b004d8e3a594eab90afccb72b779273a (diff) |
Merge remote-tracking branch 'upstream/master' into list_reverse
Diffstat (limited to 'py/objrange.c')
-rw-r--r-- | py/objrange.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/objrange.c b/py/objrange.c index b163f779b..1ef42673f 100644 --- a/py/objrange.c +++ b/py/objrange.c @@ -32,7 +32,7 @@ static const mp_obj_type_t range_type = { NULL, // binary_op range_getiter, NULL, // iternext - {{NULL, NULL},}, // method list + .methods = {{NULL, NULL},}, }; // range is a class and instances are immutable sequence objects @@ -77,7 +77,7 @@ static const mp_obj_type_t range_it_type = { NULL, // binary_op NULL, // getiter range_it_iternext, - {{NULL, NULL},}, // method list + .methods = {{NULL, NULL},}, }; mp_obj_t mp_obj_new_range_iterator(int cur, int stop, int step) { |