summaryrefslogtreecommitdiffstatshomepage
path: root/py/builtintables.c
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-06-12 01:22:25 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-06-12 01:22:25 +0300
commitfbdf2f1d63e39cb197e6cebb340af4a648c96121 (patch)
tree44f2ff0a4426f1fd5fe43d7dd344a7576298adae /py/builtintables.c
parent8a0801ad24eb7cab4b80ff23249412d7a8af9995 (diff)
downloadmicropython-fbdf2f1d63e39cb197e6cebb340af4a648c96121.tar.gz
micropython-fbdf2f1d63e39cb197e6cebb340af4a648c96121.zip
py: Rename builtin "io" to "_io".
Functionality we provide in builtin io module is fairly minimal. Some code, including CPython stdlib, depends on more functionality. So, there's a choice to either implement it in C, or move it _io, and let implement other functionality in Python. 2nd choice is pursued. This setup matches CPython too (_io is builtin, io is Python-level).
Diffstat (limited to 'py/builtintables.c')
-rw-r--r--py/builtintables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/builtintables.c b/py/builtintables.c
index 1041c2598c..857a581de4 100644
--- a/py/builtintables.c
+++ b/py/builtintables.c
@@ -162,7 +162,7 @@ STATIC const mp_map_elem_t mp_builtin_module_table[] = {
{ MP_OBJ_NEW_QSTR(MP_QSTR_array), (mp_obj_t)&mp_module_array },
#if MICROPY_PY_IO
- { MP_OBJ_NEW_QSTR(MP_QSTR_io), (mp_obj_t)&mp_module_io },
+ { MP_OBJ_NEW_QSTR(MP_QSTR__io), (mp_obj_t)&mp_module_io },
#endif
#if MICROPY_PY_COLLECTIONS
{ MP_OBJ_NEW_QSTR(MP_QSTR__collections), (mp_obj_t)&mp_module_collections },