aboutsummaryrefslogtreecommitdiff
path: root/py/objrange.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-04 20:21:15 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-04 20:21:15 +0000
commit71c5181a8dfa69ba9f5ca322a3aba0660be2e166 (patch)
tree77aae5a9008f269276bda9c433235f7e11b57ed4 /py/objrange.c
parente9906ac3d771a312b05d76e42aee8e806dd0d128 (diff)
Convert Python types to proper Python type hierarchy.
Now much more inline with how CPython does types.
Diffstat (limited to 'py/objrange.c')
-rw-r--r--py/objrange.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/objrange.c b/py/objrange.c
index b7fd17fa0..b163f779b 100644
--- a/py/objrange.c
+++ b/py/objrange.c
@@ -26,6 +26,7 @@ static const mp_obj_type_t range_type = {
{ &mp_const_type} ,
"range",
NULL, // print
+ NULL, // make_new
NULL, // call_n
NULL, // unary_op
NULL, // binary_op
@@ -70,6 +71,7 @@ static const mp_obj_type_t range_it_type = {
{ &mp_const_type },
"range_iterator",
NULL, // print
+ NULL, // make_new
NULL, // call_n
NULL, // unary_op
NULL, // binary_op