From a1acbc8287c42c21971932b6d9313147220bfe0f Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 10 Sep 2019 15:51:09 +0200 Subject: [PATCH] Fix subprocess docstring typo (GH-15812) (cherry picked from commit 182e1d1f849757439f2031504f142fa4e1251611) Co-authored-by: Matthias --- Lib/subprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/subprocess.py b/Lib/subprocess.py index 5bbeba47a37432..aed7292541e034 100644 --- a/Lib/subprocess.py +++ b/Lib/subprocess.py @@ -395,7 +395,7 @@ def check_output(*popenargs, timeout=None, **kwargs): b'when in the course of barman events\n' By default, all communication is in bytes, and therefore any "input" - should be bytes, and the return value wil be bytes. If in text mode, + should be bytes, and the return value will be bytes. If in text mode, any "input" should be a string, and the return value will be a string decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines.