Show More
@@ -187,15 +187,16 b' if pycompat.ispy3:' | |||
|
187 | 187 | sys.stderr.buffer, sys.stderr.encoding, sys.stderr.errors, **kwargs |
|
188 | 188 | ) |
|
189 | 189 | |
|
190 | # No write_through on read-only stream. | |
|
191 | sys.stdin = io.TextIOWrapper( | |
|
192 |
sys.stdin. |
|
|
193 |
sys.stdin. |
|
|
194 |
sys.stdin.e |
|
|
195 | # None is universal newlines mode. | |
|
196 | newline=None, | |
|
197 | line_buffering=sys.stdin.line_buffering, | |
|
198 | ) | |
|
190 | if sys.stdin is not None: | |
|
191 | # No write_through on read-only stream. | |
|
192 | sys.stdin = io.TextIOWrapper( | |
|
193 | sys.stdin.buffer, | |
|
194 | sys.stdin.encoding, | |
|
195 | sys.stdin.errors, | |
|
196 | # None is universal newlines mode. | |
|
197 | newline=None, | |
|
198 | line_buffering=sys.stdin.line_buffering, | |
|
199 | ) | |
|
199 | 200 | |
|
200 | 201 | def _silencestdio(): |
|
201 | 202 | for fp in (sys.stdout, sys.stderr): |
General Comments 0
You need to be logged in to leave comments.
Login now