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

Gregory P. Smith webhook-mailer at python.org
Tue Sep 10 09:51:14 EDT 2019


https://github.com/python/cpython/commit/182e1d1f849757439f2031504f142fa4e1251611
commit: 182e1d1f849757439f2031504f142fa4e1251611
branch: master
author: Matthias <xmatthias at outlook.com>
committer: Gregory P. Smith <greg at krypto.org>
date: 2019-09-10T14:51:09+01:00
summary:

Fix subprocess docstring typo (GH-15812)

files:
M Lib/subprocess.py

diff --git a/Lib/subprocess.py b/Lib/subprocess.py
index 5bbeba47a374..aed7292541e0 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.



More information about the Python-checkins mailing list