Commit fa6de5cd authored by Berker Peksag's avatar Berker Peksag

Issue #12243: Merge from 3.5

parents c5f4036e 1b207c55
...@@ -23,8 +23,6 @@ The :mod:`getpass` module provides two functions: ...@@ -23,8 +23,6 @@ The :mod:`getpass` module provides two functions:
a warning message to *stream* and reading from ``sys.stdin`` and a warning message to *stream* and reading from ``sys.stdin`` and
issuing a :exc:`GetPassWarning`. issuing a :exc:`GetPassWarning`.
Availability: Macintosh, Unix, Windows.
.. note:: .. note::
If you call getpass from within IDLE, the input may be done in the 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. terminal you launched IDLE from rather than the idle window itself.
...@@ -36,7 +34,7 @@ The :mod:`getpass` module provides two functions: ...@@ -36,7 +34,7 @@ The :mod:`getpass` module provides two functions:
.. function:: getuser() .. 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`, This function checks the environment variables :envvar:`LOGNAME`,
:envvar:`USER`, :envvar:`LNAME` and :envvar:`USERNAME`, in order, and returns :envvar:`USER`, :envvar:`LNAME` and :envvar:`USERNAME`, in order, and returns
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment