diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2016-06-02 01:26:18 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2016-06-02 01:26:18 (GMT) |
commit | 1b207c55a446ab8b8bae2efc8407ee130ba62012 (patch) | |
tree | 395ec54bd1181c8a925041cd843a6bf3df9836fa /Doc/library/getpass.rst | |
parent | 5b6a14d1cbc66b6a60ba695b519c210155a35adc (diff) | |
download | cpython-1b207c55a446ab8b8bae2efc8407ee130ba62012.zip cpython-1b207c55a446ab8b8bae2efc8407ee130ba62012.tar.gz cpython-1b207c55a446ab8b8bae2efc8407ee130ba62012.tar.bz2 |
Issue #12243: Remove redundant availability notes from getpass docs
Patch by Bryce Verdier.
Diffstat (limited to 'Doc/library/getpass.rst')
-rw-r--r-- | Doc/library/getpass.rst | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Doc/library/getpass.rst b/Doc/library/getpass.rst index 211563e..94cf95f 100644 --- a/Doc/library/getpass.rst +++ b/Doc/library/getpass.rst @@ -23,8 +23,6 @@ The :mod:`getpass` module provides two functions: a warning message to *stream* and reading from ``sys.stdin`` and issuing a :exc:`GetPassWarning`. - Availability: Macintosh, Unix, Windows. - .. note:: If you call getpass from within IDLE, the input may be done in the terminal you launched IDLE from rather than the idle window itself. @@ -36,7 +34,7 @@ The :mod:`getpass` module provides two functions: .. function:: getuser() - Return the "login name" of the user. Availability: Unix, Windows. + 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 returns |