Skip to content

Commit 616117b

Browse files
miss-islingtonStanFromIrelandhugovk
authored
[3.13] gh-101100: Fix all Sphinx warnings in Doc/library/subprocess.rst (GH-139576) (#139788)
Co-authored-by: Stan Ulbrych <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent de44d71 commit 616117b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/subprocess.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ functions.
649649

650650
If specified, *env* must provide any variables required for the program to
651651
execute. On Windows, in order to run a `side-by-side assembly`_ the
652-
specified *env* **must** include a valid :envvar:`SystemRoot`.
652+
specified *env* **must** include a valid ``%SystemRoot%``.
653653

654654
.. _side-by-side assembly: https://en.wikipedia.org/wiki/Side-by-Side_Assembly
655655

@@ -1539,7 +1539,7 @@ handling consistency are valid for these functions.
15391539

15401540
Return ``(exitcode, output)`` of executing *cmd* in a shell.
15411541

1542-
Execute the string *cmd* in a shell with :meth:`Popen.check_output` and
1542+
Execute the string *cmd* in a shell with :func:`check_output` and
15431543
return a 2-tuple ``(exitcode, output)``.
15441544
*encoding* and *errors* are used to decode output;
15451545
see the notes on :ref:`frequently-used-arguments` for more details.

0 commit comments

Comments
 (0)