File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ The :mod:`!getpass` module provides two functions:
1818 the string *prompt *, which defaults to ``'Password: ' ``. On Unix, the
1919 prompt is written to the file-like object *stream * using the replace error
2020 handler if needed. *stream * defaults to the controlling terminal
21- (:file: `/dev/tty `) or if that is unavailable to `` sys.stderr ` ` (this
21+ (:file: `/dev/tty `) or if that is unavailable to :data: ` sys.stderr ` (this
2222 argument is ignored on Windows).
2323
2424 The *echo_char * argument controls how user input is displayed while typing.
@@ -27,12 +27,12 @@ The :mod:`!getpass` module provides two functions:
2727 typed character is replaced by it. For example, ``echo_char='*' `` will
2828 display asterisks instead of the actual input.
2929
30- If echo free input is unavailable getpass() falls back to printing
31- a warning message to *stream * and reading from `` sys.stdin ` ` and
30+ If echo free input is unavailable :meth: ` ~ getpass.getpass ` falls back to printing
31+ a warning message to *stream * and reading from :data: ` sys.stdin ` and
3232 issuing a :exc: `GetPassWarning `.
3333
3434 .. note ::
35- If you call getpass from within IDLE, the input may be done in the
35+ If you call :meth: ` ~ getpass.getpass ` from within IDLE, the input may be done in the
3636 terminal you launched IDLE from rather than the idle window itself.
3737
3838 .. note ::
You can’t perform that action at this time.
0 commit comments