diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2016-06-02 01:32:42 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2016-06-02 01:32:42 (GMT) |
commit | 56da8fa581beb23fd0a2815533f7ee8571a0ef2f (patch) | |
tree | a9f80d97cd4bbb9b9ebf14dcf5b14e3c8674b9a8 /Doc | |
parent | fcd7d34afb644a936496a0499a9f5d533bd0da83 (diff) | |
download | cpython-56da8fa581beb23fd0a2815533f7ee8571a0ef2f.zip cpython-56da8fa581beb23fd0a2815533f7ee8571a0ef2f.tar.gz cpython-56da8fa581beb23fd0a2815533f7ee8571a0ef2f.tar.bz2 |
Issue #12243: Remove redundant availability notes from getpass docs
I wonder why I keep forgetting 2.7 :P
Patch by Bryce Verdier.
Diffstat (limited to 'Doc')
-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 02c3fd8..e735bfe 100644 --- a/Doc/library/getpass.rst +++ b/Doc/library/getpass.rst @@ -22,8 +22,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. - .. versionchanged:: 2.5 The *stream* parameter was added. .. versionchanged:: 2.6 @@ -41,7 +39,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 |