diff options
author | John R. Lenton <jlenton@gmail.com> | 2014-01-14 23:55:01 +0000 |
---|---|---|
committer | John R. Lenton <jlenton@gmail.com> | 2014-01-14 23:55:01 +0000 |
commit | 9daa78943e58602f74c89a2b5b1ed225f4ccf6cc (patch) | |
tree | a5ea774c04ce313d437654cf49b085732e480791 /py/runtime.c | |
parent | 6c2401e935b38ca87fd8f52efbb614a428b6938c (diff) | |
download | micropython-9daa78943e58602f74c89a2b5b1ed225f4ccf6cc.tar.gz micropython-9daa78943e58602f74c89a2b5b1ed225f4ccf6cc.zip |
added enumerate()
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 dc3d15657c..6047b90b40 100644 --- a/py/runtime.c +++ b/py/runtime.c @@ -105,6 +105,7 @@ void rt_init(void) { mp_map_add_qstr(&map_builtins, MP_QSTR_complex, (mp_obj_t)&complex_type); #endif mp_map_add_qstr(&map_builtins, MP_QSTR_dict, (mp_obj_t)&dict_type); + mp_map_add_qstr(&map_builtins, MP_QSTR_enumerate, (mp_obj_t)&enumerate_type); #if MICROPY_ENABLE_FLOAT mp_map_add_qstr(&map_builtins, MP_QSTR_float, (mp_obj_t)&float_type); #endif |