src/eric7/DebugClients/Python/getpass.py

branch
eric7
changeset 10065
de4ae767b0e3
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
equal deleted inserted replaced
10064:8c3207703dac 10065:de4ae767b0e3
45 return pwd.getpwuid(os.getuid())[0] 45 return pwd.getpwuid(os.getuid())[0]
46 46
47 return "<unknown" 47 return "<unknown"
48 48
49 49
50 def getpass(prompt="Password: ", stream=None): 50 def getpass(prompt="Password: ", stream=None): # noqa: U100
51 """ 51 """
52 Function to prompt for a password, with echo turned off. 52 Function to prompt for a password, with echo turned off.
53 53
54 @param prompt Prompt to be shown to the user 54 @param prompt Prompt to be shown to the user
55 @type str 55 @type str

eric ide

mercurial