]> granicus.if.org Git - python/commitdiff
Issue #12243: Remove redundant availability notes from getpass docs
authorBerker Peksag <berker.peksag@gmail.com>
Thu, 2 Jun 2016 01:32:42 +0000 (18:32 -0700)
committerBerker Peksag <berker.peksag@gmail.com>
Thu, 2 Jun 2016 01:32:42 +0000 (18:32 -0700)
I wonder why I keep forgetting 2.7 :P

Patch by Bryce Verdier.

Doc/library/getpass.rst

index 02c3fd8b4b67541a70df39d80e9437124b56c966..e735bfe35470b7b1618e203be9cd777022c8d658 100644 (file)
@@ -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