[3.12] gh-101100: Fix sphinx warnings in library/getpass.rst (GH-110461) (#111080)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
This commit is contained in:
Hugo van Kemenade 2023-10-19 18:38:58 +03:00 committed by GitHub
parent 3e9d84c94c
commit 41dfae8f86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

@ -43,7 +43,7 @@ The :mod:`getpass` module provides two functions:
Return the "login name" of the user. Return the "login name" of the user.
This function checks the environment variables :envvar:`LOGNAME`, 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 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 none are set, the login name from the password database is returned on
systems which support the :mod:`pwd` module, otherwise, an exception is systems which support the :mod:`pwd` module, otherwise, an exception is

View file

@ -76,7 +76,6 @@ Doc/library/ftplib.rst
Doc/library/functions.rst Doc/library/functions.rst
Doc/library/functools.rst Doc/library/functools.rst
Doc/library/getopt.rst Doc/library/getopt.rst
Doc/library/getpass.rst
Doc/library/gettext.rst Doc/library/gettext.rst
Doc/library/gzip.rst Doc/library/gzip.rst
Doc/library/http.client.rst Doc/library/http.client.rst