Fix subprocess docstring typo (GH-15812)
(cherry picked from commit 182e1d1f84
)
Co-authored-by: Matthias <xmatthias@outlook.com>
This commit is contained in:
parent
aa3b629a09
commit
9f54feabee
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue