Show More
@@ -187,6 +187,7 b' if pycompat.ispy3:' | |||||
187 | sys.stderr.buffer, sys.stderr.encoding, sys.stderr.errors, **kwargs |
|
187 | sys.stderr.buffer, sys.stderr.encoding, sys.stderr.errors, **kwargs | |
188 | ) |
|
188 | ) | |
189 |
|
189 | |||
|
190 | if sys.stdin is not None: | |||
190 | # No write_through on read-only stream. |
|
191 | # No write_through on read-only stream. | |
191 | sys.stdin = io.TextIOWrapper( |
|
192 | sys.stdin = io.TextIOWrapper( | |
192 | sys.stdin.buffer, |
|
193 | sys.stdin.buffer, |
General Comments 0
You need to be logged in to leave comments.
Login now