Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfbc18d commit f9f4881Copy full SHA for f9f4881
1 file changed
Lib/getpass.py
@@ -26,7 +26,6 @@ def unix_getpass(prompt='Password: '):
26
except:
27
return default_getpass(prompt)
28
29
- getpass = default_getpass
30
old = termios.tcgetattr(fd) # a copy to save
31
new = old[:]
32
@@ -70,7 +69,6 @@ def default_getpass(prompt='Password: '):
70
69
def _raw_input(prompt=""):
71
# A raw_input() replacement that doesn't save the string in the
72
# GNU readline history.
73
- import sys
74
prompt = str(prompt)
75
if prompt:
76
sys.stdout.write(prompt)
0 commit comments