summaryrefslogtreecommitdiff
path: root/py/qstrdefs.h
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/qstrdefs.h
parent8a0801ad24eb7cab4b80ff23249412d7a8af9995 (diff)
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/qstrdefs.h')
-rw-r--r--py/qstrdefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h
index 521d4399a..856853fa5 100644
--- a/py/qstrdefs.h
+++ b/py/qstrdefs.h
@@ -361,7 +361,7 @@ Q(unpack)
#endif
#if MICROPY_PY_IO
-Q(io)
+Q(_io)
Q(readall)
Q(readline)
Q(readlines)