mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
Added availabililty annotations to respond to concerns of /F.
This commit is contained in:
parent
4b1a07ae18
commit
b3a20bc44c
1 changed files with 6 additions and 5 deletions
|
@ -1,12 +1,11 @@
|
||||||
\section{\module{getpass}
|
\section{\module{getpass}
|
||||||
--- Portable password reading.}
|
--- Portable password input}
|
||||||
|
|
||||||
\declaremodule{standard}{getpass}
|
\declaremodule{standard}{getpass}
|
||||||
\moduleauthor{Piers Lauder}{piers@cs.su.oz.au}
|
|
||||||
% Windows support by Guido van Rossum.
|
|
||||||
\sectionauthor{Fred L. Drake, Jr.}{fdrake@acm.org}
|
|
||||||
|
|
||||||
\modulesynopsis{Portable reading of passwords and retrieval of the userid.}
|
\modulesynopsis{Portable reading of passwords and retrieval of the userid.}
|
||||||
|
\moduleauthor{Piers Lauder}{piers@cs.su.oz.au}
|
||||||
|
% Windows (& Mac?) support by Guido van Rossum.
|
||||||
|
\sectionauthor{Fred L. Drake, Jr.}{fdrake@acm.org}
|
||||||
|
|
||||||
|
|
||||||
The \module{getpass} module provides two functions:
|
The \module{getpass} module provides two functions:
|
||||||
|
@ -16,11 +15,13 @@ The \module{getpass} module provides two functions:
|
||||||
Prompt the user for a password without echoing. The user is
|
Prompt the user for a password without echoing. The user is
|
||||||
prompted using the string \var{prompt}, which defaults to
|
prompted using the string \var{prompt}, which defaults to
|
||||||
\code{'Password: '}.
|
\code{'Password: '}.
|
||||||
|
Availability: Macintosh, \UNIX{}, Windows.
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
|
|
||||||
\begin{funcdesc}{getuser}{}
|
\begin{funcdesc}{getuser}{}
|
||||||
Return the ``login name'' of the user.
|
Return the ``login name'' of the user.
|
||||||
|
Availability: \UNIX{}, Windows.
|
||||||
|
|
||||||
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
|
\envvar{USER}, \envvar{LNAME} and \envvar{USERNAME}, in order, and
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue