eric6/DebugClients/Python/getpass.py

branch
multi_processing
changeset 7564
787684e6f2f3
parent 7550
e91462fd0838
child 7628
f904d0eef264
--- a/eric6/DebugClients/Python/getpass.py	Sat May 02 14:35:03 2020 +0200
+++ b/eric6/DebugClients/Python/getpass.py	Sat May 02 14:45:06 2020 +0200
@@ -23,7 +23,8 @@
     First try various environment variables, then the password
     database.  This works on Windows as long as USERNAME is set.
     
-    @return username (string)
+    @return username
+    @rtype str
     """
     # this is copied from the oroginal getpass.py
     
@@ -43,8 +44,10 @@
     """
     Function to prompt for a password, with echo turned off.
     
-    @param prompt Prompt to be shown to the user (string)
-    @return Password entered by the user (string)
+    @param prompt Prompt to be shown to the user
+    @type str
+    @return Password entered by the user
+    @rtype str
     """
     return input(prompt, False)
     
@@ -52,6 +55,7 @@
 unix_getpass = getpass
 win_getpass = getpass
 default_getpass = getpass
+fallback_getpass = getpass
 
 #
 # eflag: noqa = M702

eric ide

mercurial