summaryrefslogtreecommitdiff
path: root/py/runtime.c
diff options
context:
space:
mode:
authorJohn R. Lenton <jlenton@gmail.com>2014-01-15 01:37:08 +0000
committerJohn R. Lenton <jlenton@gmail.com>2014-01-15 01:37:08 +0000
commitfca456bc3c0e3c43b2ef598ba1b352e0c27a2778 (patch)
tree551138750cfc547339063f289bee8f5a5aa7ba65 /py/runtime.c
parent39b174e00a05dfaf4ac6f2e17cee4892a60e92c3 (diff)
added filter()
Diffstat (limited to 'py/runtime.c')
-rw-r--r--py/runtime.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/runtime.c b/py/runtime.c
index c5292dc26..04c098de3 100644
--- a/py/runtime.c
+++ b/py/runtime.c
@@ -106,6 +106,7 @@ void rt_init(void) {
#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);
+ mp_map_add_qstr(&map_builtins, MP_QSTR_filter, (mp_obj_t)&filter_type);
#if MICROPY_ENABLE_FLOAT
mp_map_add_qstr(&map_builtins, MP_QSTR_float, (mp_obj_t)&float_type);
#endif