From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 10 Sep 2019 14:48:22 +0000 (-0700) Subject: Fix subprocess docstring typo (GH-15812) X-Git-Tag: v3.7.5rc1~102 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9f54feabee26133ac64c6d0e58969005b30614d3;p=thirdparty%2FPython%2Fcpython.git Fix subprocess docstring typo (GH-15812) (cherry picked from commit 182e1d1f849757439f2031504f142fa4e1251611) Co-authored-by: Matthias --- diff --git a/Lib/subprocess.py b/Lib/subprocess.py index 2c30e344e61f..395e5e7ba75c 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.