]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-101100: Fix all Sphinx warnings in `Doc/library/subprocess.rst` (GH-139576...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 22 Nov 2025 17:18:55 +0000 (18:18 +0100)
committerGitHub <noreply@github.com>
Sat, 22 Nov 2025 17:18:55 +0000 (19:18 +0200)
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Doc/library/subprocess.rst

index 4728b0df6eeebc385383e8f227f93ed6e4e88811..4390f00fe7cd5590e2274d4a12714fe7b1fbdeaf 100644 (file)
@@ -649,7 +649,7 @@ functions.
 
       If specified, *env* must provide any variables required for the program to
       execute.  On Windows, in order to run a `side-by-side assembly`_ the
-      specified *env* **must** include a valid :envvar:`SystemRoot`.
+      specified *env* **must** include a valid ``%SystemRoot%``.
 
    .. _side-by-side assembly: https://en.wikipedia.org/wiki/Side-by-Side_Assembly
 
@@ -1539,7 +1539,7 @@ handling consistency are valid for these functions.
 
    Return ``(exitcode, output)`` of executing *cmd* in a shell.
 
-   Execute the string *cmd* in a shell with :meth:`Popen.check_output` and
+   Execute the string *cmd* in a shell with :func:`check_output` and
    return a 2-tuple ``(exitcode, output)``.
    *encoding* and *errors* are used to decode output;
    see the notes on :ref:`frequently-used-arguments` for more details.