From afd69b56e512bbfccdba68449a55f7ac612c6f0f Mon Sep 17 00:00:00 2001 From: tharvik Date: Thu, 12 May 2016 19:21:50 +0200 Subject: [PATCH] remove use of io.TextIOWrapper(write_through) --- stdlib-samples/3.2/subprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib-samples/3.2/subprocess.py b/stdlib-samples/3.2/subprocess.py index e286525da8b3..9bcdfb72f019 100644 --- a/stdlib-samples/3.2/subprocess.py +++ b/stdlib-samples/3.2/subprocess.py @@ -738,7 +738,7 @@ def __init__(self, args: Sequence[Any], bufsize: int = 0, if p2cwrite != -1: self.stdin = io.open(p2cwrite, 'wb', bufsize) if self.universal_newlines: - self.stdin = io.TextIOWrapper(self.stdin, write_through=True) + self.stdin = io.TextIOWrapper(self.stdin) if c2pread != -1: self.stdout = io.open(c2pread, 'rb', bufsize) if universal_newlines: