cpython (3.5): Issue #12243: Remove redundant availability notes from getpass docs
https://hg.python.org/cpython/rev/c13198a2007e changeset: 101591:c13198a2007e branch: 3.5 parent: 101588:dbe69f54b09c user: Berker Peksag <berker.peksag@gmail.com> date: Wed Jun 01 18:26:18 2016 -0700 summary: Issue #12243: Remove redundant availability notes from getpass docs 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 @@ -23,8 +23,6 @@ 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 @@ .. 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
participants (1)
-
berker.peksag