]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-101100: Fix sphinx warnings in `library/getpass.rst` (GH-110461) (#111080)
authorHugo van Kemenade <hugovk@users.noreply.github.com>
Thu, 19 Oct 2023 15:38:58 +0000 (18:38 +0300)
committerGitHub <noreply@github.com>
Thu, 19 Oct 2023 15:38:58 +0000 (15:38 +0000)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Doc/library/getpass.rst
Doc/tools/.nitignore

index d5bbe67fb30a62143fd6d8cb6805904fdad1eb7c..5c79daf0f47d8e6cec07161f575ae6e5a1d689b1 100644 (file)
@@ -43,7 +43,7 @@ The :mod:`getpass` module provides two functions:
    Return the "login name" of the user.
 
    This function checks the environment variables :envvar:`LOGNAME`,
-   :envvar:`USER`, :envvar:`LNAME` and :envvar:`USERNAME`, in order, and
+   :envvar:`USER`, :envvar:`!LNAME` and :envvar:`USERNAME`, in order, and
    returns the value of the first one which is set to a non-empty string.  If
    none are set, the login name from the password database is returned on
    systems which support the :mod:`pwd` module, otherwise, an exception is
index 431609b1d0f9c01382ea06a57bd23964a4f080d0..f55c238489d4f315b87e56ecc9d72592df73a990 100644 (file)
@@ -76,7 +76,6 @@ Doc/library/ftplib.rst
 Doc/library/functions.rst
 Doc/library/functools.rst
 Doc/library/getopt.rst
-Doc/library/getpass.rst
 Doc/library/gettext.rst
 Doc/library/gzip.rst
 Doc/library/http.client.rst