]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-101100: Fix sphinx warnings in `library/getpass.rst` (#110461)
authorNikita Sobolev <mail@sobolevn.me>
Thu, 19 Oct 2023 15:04:29 +0000 (18:04 +0300)
committerGitHub <noreply@github.com>
Thu, 19 Oct 2023 15:04:29 +0000 (18:04 +0300)
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 72d85ca83b21837fc9f7ba18c41a47e543bbe3b2..f44f9e65b9b530675e11ee5d6faafb8df3bceb5a 100644 (file)
@@ -66,7 +66,6 @@ Doc/library/fcntl.rst
 Doc/library/ftplib.rst
 Doc/library/functions.rst
 Doc/library/functools.rst
-Doc/library/getpass.rst
 Doc/library/gettext.rst
 Doc/library/gzip.rst
 Doc/library/http.client.rst