[Python-checkins] Fix subprocess docstring typo (GH-15812)

Miss Islington (bot) webhook-mailer at python.org
Tue Sep 10 10:48:25 EDT 2019


https://github.com/python/cpython/commit/9f54feabee26133ac64c6d0e58969005b30614d3
commit: 9f54feabee26133ac64c6d0e58969005b30614d3
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019年09月10日T07:48:22-07:00
summary:
Fix subprocess docstring typo (GH-15812)
(cherry picked from commit 182e1d1f849757439f2031504f142fa4e1251611)
Co-authored-by: Matthias <xmatthias at outlook.com>
files:
M Lib/subprocess.py
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.


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /