From 48fdaad824da690088ad164326c3151a7bb77432 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 13 Apr 2014 10:17:04 +0300 Subject: py: Rename collections module to _collections. We're not going to implement all the plethora of types in there in C. Funnily, CPython implements defaultdict in C, and namedtuple in Python. --- py/builtintables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py/builtintables.c') diff --git a/py/builtintables.c b/py/builtintables.c index e2007f3b4..4b865e142 100644 --- a/py/builtintables.c +++ b/py/builtintables.c @@ -126,7 +126,7 @@ STATIC const mp_map_elem_t mp_builtin_module_table[] = { #if MICROPY_ENABLE_MOD_IO { MP_OBJ_NEW_QSTR(MP_QSTR_io), (mp_obj_t)&mp_module_io }, #endif - { MP_OBJ_NEW_QSTR(MP_QSTR_collections), (mp_obj_t)&mp_module_collections }, + { MP_OBJ_NEW_QSTR(MP_QSTR__collections), (mp_obj_t)&mp_module_collections }, #if MICROPY_ENABLE_MOD_STRUCT { MP_OBJ_NEW_QSTR(MP_QSTR_struct), (mp_obj_t)&mp_module_struct }, #endif -- cgit v1.2.3