diff options
author | Hugo van Kemenade <hugovk@users.noreply.github.com> | 2023-10-19 15:38:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-19 15:38:58 (GMT) |
commit | 41dfae8f8620d33121ca19c53d132457c5875c98 (patch) | |
tree | efc68b8eb9c7f3ea4a7d9eb583bf03dcfcceec09 /Doc/library/getpass.rst | |
parent | 3e9d84c94c532afbb4c0e8779fcc0b90e829559e (diff) | |
download | cpython-41dfae8f8620d33121ca19c53d132457c5875c98.zip cpython-41dfae8f8620d33121ca19c53d132457c5875c98.tar.gz cpython-41dfae8f8620d33121ca19c53d132457c5875c98.tar.bz2 |
[3.12] gh-101100: Fix sphinx warnings in `library/getpass.rst` (GH-110461) (#111080)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Diffstat (limited to 'Doc/library/getpass.rst')
-rw-r--r-- | Doc/library/getpass.rst | 2 |
1 files changed, 1 insertions, 1 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 |