MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / fallback_getpass

Function fallback_getpass

tools/python-3.11.9-amd64/Lib/getpass.py:120–126  ·  view source on GitHub ↗
(prompt='Password: ', stream=None)

Source from the content-addressed store, hash-verified

118
119
120def fallback_getpass(prompt='Password: ', stream=None):
121 warnings.warn("Can not control echo on the terminal.", GetPassWarning,
122 stacklevel=2)
123 if not stream:
124 stream = sys.stderr
125 print("Warning: Password input may be echoed.", file=stream)
126 return _raw_input(prompt, stream)
127
128
129def _raw_input(prompt="", stream=None, input=None):

Callers 2

unix_getpassFunction · 0.85
win_getpassFunction · 0.85

Calls 3

_raw_inputFunction · 0.85
printFunction · 0.50
warnMethod · 0.45

Tested by

no test coverage detected