eric6/DebugClients/Python/getpass.py

changeset 7550
e91462fd0838
parent 7360
9190402e4505
child 7628
f904d0eef264
--- a/eric6/DebugClients/Python/getpass.py	Wed Apr 22 19:58:01 2020 +0200
+++ b/eric6/DebugClients/Python/getpass.py	Thu Apr 23 18:50:54 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