Issue #12243: Remove redundant availability notes from getpass docs
I wonder why I keep forgetting 2.7 :P
Patch by Bryce Verdier.
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 @@
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 @@
.. 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