Skip to content

Commit 41dfae8

Browse files
hugovksobolevn
andauthored
[3.12] gh-101100: Fix sphinx warnings in library/getpass.rst (GH-110461) (#111080)
Co-authored-by: Nikita Sobolev <[email protected]>
1 parent 3e9d84c commit 41dfae8

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Doc/library/getpass.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The :mod:`getpass` module provides two functions:
4343
Return the "login name" of the user.
4444

4545
This function checks the environment variables :envvar:`LOGNAME`,
46-
:envvar:`USER`, :envvar:`LNAME` and :envvar:`USERNAME`, in order, and
46+
:envvar:`USER`, :envvar:`!LNAME` and :envvar:`USERNAME`, in order, and
4747
returns the value of the first one which is set to a non-empty string. If
4848
none are set, the login name from the password database is returned on
4949
systems which support the :mod:`pwd` module, otherwise, an exception is

Doc/tools/.nitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ Doc/library/ftplib.rst
7676
Doc/library/functions.rst
7777
Doc/library/functools.rst
7878
Doc/library/getopt.rst
79-
Doc/library/getpass.rst
8079
Doc/library/gettext.rst
8180
Doc/library/gzip.rst
8281
Doc/library/http.client.rst

0 commit comments

Comments
 (0)