diff options
author | Georg Brandl <georg@python.org> | 2009-05-17 13:00:36 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-05-17 13:00:36 (GMT) |
commit | 036490d025b768c9e69567c3caac63ccd7a62a09 (patch) | |
tree | aeb86dff3b316514ee06be484fe0e482bcd83a12 /Doc/library/getpass.rst | |
parent | cd86925b3bb994a8b2662cbe04be356768df5e86 (diff) | |
download | cpython-036490d025b768c9e69567c3caac63ccd7a62a09.zip cpython-036490d025b768c9e69567c3caac63ccd7a62a09.tar.gz cpython-036490d025b768c9e69567c3caac63ccd7a62a09.tar.bz2 |
More conversion to new-style optional args.
Diffstat (limited to 'Doc/library/getpass.rst')
-rw-r--r-- | Doc/library/getpass.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/getpass.rst b/Doc/library/getpass.rst index ff1c091..ffe2b12 100644 --- a/Doc/library/getpass.rst +++ b/Doc/library/getpass.rst @@ -10,7 +10,7 @@ The :mod:`getpass` module provides two functions: -.. function:: getpass([prompt[, stream]]) +.. function:: getpass(prompt='Password: ', stream=None) Prompt the user for a password without echoing. The user is prompted using the string *prompt*, which defaults to ``'Password: '``. On Unix, the prompt |