summaryrefslogtreecommitdiffstats
path: root/Lib/site.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/site.py')
-rw-r--r--Lib/site.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/site.py b/Lib/site.py
index 30c54b0..53e859e 100644
--- a/Lib/site.py
+++ b/Lib/site.py
@@ -414,9 +414,9 @@ def installnewio():
def __new__(cls, *args, **kwds):
return io.open(*args, **kwds)
__builtin__.open = open
- sys.__stdin__ = sys.stdin = io.open(0, "r")
- sys.__stdout__ = sys.stdout = io.open(1, "w")
- sys.__stderr__ = sys.stderr = io.open(2, "w")
+ sys.__stdin__ = sys.stdin = io.open(0, "r", newline='\n')
+ sys.__stdout__ = sys.stdout = io.open(1, "w", newline='\n')
+ sys.__stderr__ = sys.stderr = io.open(2, "w", newline='\n')
def main():