[Python-checkins] cpython (2.7): Issue #12243: Remove redundant availability notes from getpass docs
berker.peksag
python-checkins at python.org
Wed Jun 1 21:23:15 EDT 2016
https://hg.python.org/cpython/rev/98870f27d2ed
changeset: 101593:98870f27d2ed
branch: 2.7
parent: 101583:3aa49900869b
user: Berker Peksag <berker.peksag at gmail.com>
date: Wed Jun 01 18:32:42 2016 -0700
summary:
Issue #12243: Remove redundant availability notes from getpass docs
I wonder why I keep forgetting 2.7 :P
Patch by Bryce Verdier.
files:
Doc/library/getpass.rst | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/Doc/library/getpass.rst b/Doc/library/getpass.rst
--- 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
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list