From 219696210ebf54483f8e1ee9422ae80af636e29b 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 2c30e344e61f83..395e5e7ba75cac 100644 --- a/Lib/subprocess.py +++ b/Lib/subprocess.py @@ -394,7 +394,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.