Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
418ac9a9
Commit
418ac9a9
authored
Mar 12, 1999
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added availabililty annotations to respond to concerns of /F.
parent
b228cd68
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
Doc/lib/libgetpass.tex
Doc/lib/libgetpass.tex
+5
-4
No files found.
Doc/lib/libgetpass.tex
View file @
418ac9a9
\section
{
\module
{
getpass
}
--- Portable password
reading.
}
--- Portable password
input
}
\declaremodule
{
standard
}{
getpass
}
\modulesynopsis
{
Portable reading of passwords and retrieval of the userid.
}
\moduleauthor
{
Piers Lauder
}{
piers@cs.su.oz.au
}
% Windows support by Guido van Rossum.
% Windows
(& Mac?)
support by Guido van Rossum.
\sectionauthor
{
Fred L. Drake, Jr.
}{
fdrake@acm.org
}
\modulesynopsis
{
Portable reading of passwords and retrieval of the userid.
}
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
prompted using the string
\var
{
prompt
}
, which defaults to
\code
{
'Password: '
}
.
Availability: Macintosh,
\UNIX
{}
, Windows.
\end{funcdesc}
\begin{funcdesc}
{
getuser
}{}
Return the ``login name'' of the user.
Availability:
\UNIX
{}
, Windows.
This function checks the environment variables
\envvar
{
LOGNAME
}
,
\envvar
{
USER
}
,
\envvar
{
LNAME
}
and
\envvar
{
USERNAME
}
, in order, and
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment