gh-101100: Fix sphinx warnings in library/getpass.rst (#110461)

This commit is contained in:
Nikita Sobolev 2023-10-19 18:04:29 +03:00 committed by GitHub
parent d23a2f9887
commit d144749914
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

@ -66,7 +66,6 @@ Doc/library/fcntl.rst
Doc/library/ftplib.rst Doc/library/ftplib.rst
Doc/library/functions.rst Doc/library/functions.rst
Doc/library/functools.rst Doc/library/functools.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