diff options
author | Damien George <damien.p.george@gmail.com> | 2014-05-21 19:42:43 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-05-21 19:42:43 +0100 |
commit | 6ac5dced2441bf63dbc65acbd7e33fb71d1d3ede (patch) | |
tree | fa0c99f00806dda3e9bf469245bb0b3870c4a101 /py/objfun.c | |
parent | 6d197740cf7067c65f40574f7cf0707480bbf461 (diff) | |
download | micropython-6ac5dced2441bf63dbc65acbd7e33fb71d1d3ede.tar.gz micropython-6ac5dced2441bf63dbc65acbd7e33fb71d1d3ede.zip |
py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL.
See issue #608 for justification.
Diffstat (limited to 'py/objfun.c')
-rw-r--r-- | py/objfun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objfun.c b/py/objfun.c index 27cba3abe3..26dfe0b2e2 100644 --- a/py/objfun.c +++ b/py/objfun.c @@ -59,7 +59,7 @@ STATIC mp_obj_t fun_binary_op(int op, mp_obj_t lhs_in, mp_obj_t rhs_in) { // we don't even need to check for 2nd arg type. return MP_BOOL(lhs_in == rhs_in); } - return MP_OBJ_NOT_SUPPORTED; + return MP_OBJ_NULL; // op not supported } STATIC mp_obj_t fun_native_call(mp_obj_t self_in, uint n_args, uint n_kw, const mp_obj_t *args) { |