summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2023-10-19 15:04:29 (GMT)
committerGitHub <noreply@github.com>2023-10-19 15:04:29 (GMT)
commitd144749914dbe295d71d037e8ca695783511123f (patch)
tree0e34e7d96169fb9eef9a75466fb0c588502a882f /Doc
parentd23a2f988771f4abd771ab4274529dcbf60dae37 (diff)
downloadcpython-d144749914dbe295d71d037e8ca695783511123f.zip
cpython-d144749914dbe295d71d037e8ca695783511123f.tar.gz
cpython-d144749914dbe295d71d037e8ca695783511123f.tar.bz2
gh-101100: Fix sphinx warnings in `library/getpass.rst` (#110461)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/getpass.rst2
-rw-r--r--Doc/tools/.nitignore1
2 files changed, 1 insertions, 2 deletions
diff --git a/Doc/library/getpass.rst b/Doc/library/getpass.rst
index d5bbe67..5c79daf 100644
--- a/Doc/library/getpass.rst
+++ b/Doc/library/getpass.rst
@@ -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
diff --git a/Doc/tools/.nitignore b/Doc/tools/.nitignore
index 72d85ca..f44f9e6 100644
--- a/Doc/tools/.nitignore
+++ b/Doc/tools/.nitignore
@@ -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