diff options
author | John R. Lenton <jlenton@gmail.com> | 2014-01-07 23:06:46 +0000 |
---|---|---|
committer | John R. Lenton <jlenton@gmail.com> | 2014-01-07 23:06:46 +0000 |
commit | 9c83ec0edac2394431a5d1aecba1d666ffdea0a3 (patch) | |
tree | ccf18860da373cf13194788b793a962335d69fef /py/objexcept.c | |
parent | 27d4ca7693c276d09a911c00c3442729c516dc23 (diff) |
Merge remote-tracking branch 'upstream/master' into dict_feats
Diffstat (limited to 'py/objexcept.c')
-rw-r--r-- | py/objexcept.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/py/objexcept.c b/py/objexcept.c index 22b8c5812..829b14785 100644 --- a/py/objexcept.c +++ b/py/objexcept.c @@ -38,14 +38,7 @@ void exception_print(void (*print)(void *env, const char *fmt, ...), void *env, const mp_obj_type_t exception_type = { { &mp_const_type }, "exception", - exception_print, // print - NULL, // make_new - NULL, // call_n - NULL, // unary_op - NULL, // binary_op - NULL, // getiter - NULL, // iternext - .methods = {{NULL, NULL},}, + .print = exception_print, }; mp_obj_t mp_obj_new_exception(qstr id) { |