]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #12243: Remove redundant availability notes from getpass docs
authorBerker Peksag <berker.peksag@gmail.com>
Thu, 2 Jun 2016 01:26:18 +0000 (18:26 -0700)
committerBerker Peksag <berker.peksag@gmail.com>
Thu, 2 Jun 2016 01:26:18 +0000 (18:26 -0700)
Patch by Bryce Verdier.

Doc/library/getpass.rst

index 211563e23e56b07658cd85634dbd4944855236f4..94cf95f1af5f425842a38d9887330ada934e81b1 100644 (file)
@@ -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