https://github.com/python/cpython/commit/99fd52563220f7dd09303fa7a2b232d8618da6ce
commit: 99fd52563220f7dd09303fa7a2b232d8618da6ce
branch: main
author: Stan Ulbrych <[email protected]>
committer: hugovk <[email protected]>
date: 2025-10-08T18:26:22+03:00
summary:

gh-101100: Fix all Sphinx warnings in `Doc/library/subprocess.rst` (#139576)

files:
M Doc/library/subprocess.rst
M Doc/tools/.nitignore

diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst
index 028a7861f36798..1aade881745f21 100644
--- a/Doc/library/subprocess.rst
+++ b/Doc/library/subprocess.rst
@@ -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.
diff --git a/Doc/tools/.nitignore b/Doc/tools/.nitignore
index 0ee92dce43790b..4ee09c6bbaa069 100644
--- a/Doc/tools/.nitignore
+++ b/Doc/tools/.nitignore
@@ -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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to