diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-06-12 01:22:25 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-06-12 01:22:25 +0300 |
commit | fbdf2f1d63e39cb197e6cebb340af4a648c96121 (patch) | |
tree | 44f2ff0a4426f1fd5fe43d7dd344a7576298adae /tests/io/stringio1.py | |
parent | 8a0801ad24eb7cab4b80ff23249412d7a8af9995 (diff) | |
download | micropython-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 'tests/io/stringio1.py')
-rw-r--r-- | tests/io/stringio1.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/io/stringio1.py b/tests/io/stringio1.py index f69f62f75f..6979fe7c9d 100644 --- a/tests/io/stringio1.py +++ b/tests/io/stringio1.py @@ -1,4 +1,4 @@ -import io +import _io as io a = io.StringIO() print(a.getvalue()) |