]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-101100: Fix all Sphinx warnings in `Doc/library/subprocess.rst` (#139576)
authorStan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Wed, 8 Oct 2025 15:26:22 +0000 (16:26 +0100)
committerGitHub <noreply@github.com>
Wed, 8 Oct 2025 15:26:22 +0000 (18:26 +0300)
Doc/library/subprocess.rst
Doc/tools/.nitignore

index 028a7861f36798a02e458e8757d8be0fd07b66ab..1aade881745f21f83dbe852cc14d22341d10a1b7 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
 
@@ -1473,7 +1473,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.
index 0ee92dce43790bc1f3f0bdff461d84c1f62c4c47..4ee09c6bbaa06911b70a4847d00deed01a5b79f0 100644 (file)
@@ -35,7 +35,6 @@ Doc/library/smtplib.rst
 Doc/library/socket.rst
 Doc/library/ssl.rst
 Doc/library/stdtypes.rst
-Doc/library/subprocess.rst
 Doc/library/termios.rst
 Doc/library/test.rst
 Doc/library/tkinter.rst