summaryrefslogtreecommitdiff
path: root/Doc/library/getpass.rst
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-06-01 18:26:18 -0700
committerBerker Peksag <berker.peksag@gmail.com>2016-06-01 18:26:18 -0700
commit025017ad31ba00d28de1a0498fbea514ba6bc726 (patch)
treeae673564e74c0367aabe4346cd66089724ac1b8b /Doc/library/getpass.rst
parent15f362669e381a54ed8589fcd6093bda1827280d (diff)
downloadcpython-025017ad31ba00d28de1a0498fbea514ba6bc726.tar.gz
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.rst4
1 files changed, 1 insertions, 3 deletions
diff --git a/Doc/library/getpass.rst b/Doc/library/getpass.rst
index 211563e23e..94cf95f1af 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