Skip to content

Commit

Permalink
[3.11] gh-101100: Fix sphinx warnings in library/getpass.rst (GH-11…
Browse files Browse the repository at this point in the history
…0461) (#111072)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
  • Loading branch information
miss-islington and sobolevn committed Oct 19, 2023
1 parent 26a0282 commit 4fc5352
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Doc/library/getpass.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion Doc/tools/.nitignore
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,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
Expand Down

0 comments on commit 4fc5352

Please sign in to comment.