[docs] Documentation regressions from adding subprocess.run() (issue 24420)

berker.peksag at gmail.com berker.peksag at gmail.com
Thu Jun 25 23:31:14 CEST 2015

File Doc/library/subprocess.rst (right):

Doc/library/subprocess.rst:880: .. function:: check_output(args, *[,
input], stdin=None, stderr=None, shell=False, universal_newlines=False,
I think we can now remove *input* from the signature.

The following paragraph makes the *input* parameter's presence

+   The arguments shown above are merely the most common ones.
+   The full function signature is largely the same as that of
:func:`run` -
+   most arguments are passed directly through to that interface.
+   The differences are that explicitly passing ``input=None`` is not
+   supported, and that *stdout* is not permitted as an argument, as
+   it is used internally to collect the output from the subprocess.

Also, without ``[, input],``, the signature looks more readable to me.


More information about the docs mailing list