Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1b207c5

Browse files
committed
Issue #12243: Remove redundant availability notes from getpass docs
Patch by Bryce Verdier.
1 parent 5b6a14d commit 1b207c5

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Doc/library/getpass.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ The :mod:`getpass` module provides two functions:
2323
a warning message to *stream* and reading from ``sys.stdin`` and
2424
issuing a :exc:`GetPassWarning`.
2525

26-
Availability: Macintosh, Unix, Windows.
27-
2826
.. note::
2927
If you call getpass from within IDLE, the input may be done in the
3028
terminal you launched IDLE from rather than the idle window itself.
@@ -36,7 +34,7 @@ The :mod:`getpass` module provides two functions:
3634

3735
.. function:: getuser()
3836

39-
Return the "login name" of the user. Availability: Unix, Windows.
37+
Return the "login name" of the user.
4038

4139
This function checks the environment variables :envvar:`LOGNAME`,
4240
:envvar:`USER`, :envvar:`LNAME` and :envvar:`USERNAME`, in order, and returns

0 commit comments

Comments
 (0)