From fbdf2f1d63e39cb197e6cebb340af4a648c96121 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Thu, 12 Jun 2014 01:22:25 +0300 Subject: 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). --- tests/io/stringio1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/io/stringio1.py b/tests/io/stringio1.py index f69f62f75..6979fe7c9 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()) -- cgit v1.2.3