diff options
author | Rachel Dowdall <rjdowdall@gmail.com> | 2014-03-20 22:40:38 +0000 |
---|---|---|
committer | Rachel Dowdall <rjdowdall@gmail.com> | 2014-03-20 22:40:38 +0000 |
commit | 300c8bd4c2c0c6d626a6aaeb873c22a8f8b9fc3f (patch) | |
tree | 96a2e445c19b7535a708b89aeddc378727366148 /py/runtime.c | |
parent | a2f2f734ed5ee1294a44592448e5b0f45a12e254 (diff) |
Added ZeroDivisionError to float division.
Diffstat (limited to 'py/runtime.c')
-rw-r--r-- | py/runtime.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/py/runtime.c b/py/runtime.c index 9c8ba636c..b57a74fa3 100644 --- a/py/runtime.c +++ b/py/runtime.c @@ -158,6 +158,7 @@ STATIC const mp_builtin_elem_t builtin_table[] = { { MP_QSTR_OSError, (mp_obj_t)&mp_type_OSError }, { MP_QSTR_NotImplementedError, (mp_obj_t)&mp_type_NotImplementedError }, { MP_QSTR_StopIteration, (mp_obj_t)&mp_type_StopIteration }, + { MP_QSTR_ZeroDivisionError, (mp_obj_t)&mp_type_ZeroDivisionError }, // Extra builtins as defined by a port MICROPY_EXTRA_BUILTINS |