On this page
getpass.GetPassWarning
Prev: getpass.getpass | Up: getpass | Next: getpass.getuser
Rel: getpass.getpass, getpass.getuser
Ref: docs.python.org โ getpass.GetPassWarning
Tags: #public #python3 #stdlib #getpass
Import
import getpass
from getpass import GetPassWarning
Signature & Overview
getpass.GetPassWarning(...)
getpass.GetPassWarning class.
Methods & Attributes
GetPassWarning.add_note(self, note, /)โ Add a note to the exceptionGetPassWarning.with_traceback(self, tb, /)โ Set self.traceback to tb and return self.
Usage
import getpass
assert issubclass(getpass.GetPassWarning, UserWarning)
Gotchas
- Emitted when
getpass()cannot turn off terminal echo and falls back to visible input.
REPL Inspect
from getpass import GetPassWarning
help(GetPassWarning)
Linked from
Related notes
- tuts/python3/stdlib_module/getpass/getpass Linked here; links to this page; shared tags: #getpass, #stdlib
- tuts/python3/stdlib_module/getpass/getuser Linked here; links to this page; shared tags: #getpass, #stdlib
- tuts/python3/stdlib_module/getpass links to this page; shared tags: #stdlib
- tuts/c/stdlib shared tags: #stdlib
- tuts/c/stdlib/assert shared tags: #stdlib
- tuts/c/stdlib/assert/assert shared tags: #stdlib
- tuts/c/stdlib/assert/static_assert shared tags: #stdlib
- tuts/c/stdlib/ctype shared tags: #stdlib
- tuts/c/stdlib/ctype/isalpha shared tags: #stdlib
- tuts/c/stdlib/ctype/isdigit shared tags: #stdlib