File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1996,12 +1996,11 @@ def default(self, statement: Statement) -> Optional[bool]:
19961996 def read_input (self , prompt : str , * , allow_completion : bool = False ) -> str :
19971997 """
19981998 Read input from appropriate stdin value. Also allows you to disable tab completion while input is being read.
1999-
20001999 :param prompt: prompt to display to user
20012000 :param allow_completion: if True, then tab completion of commands is enabled. This generally should be
2002- set to False unless reading the command line. Defaults to False.
2001+ set to False unless reading the command line. Defaults to False.
20032002 :return: the line read from stdin with all trailing new lines removed
2004- :raises whatever exceptions are raised by input()
2003+ :raises any exceptions raised by input() and stdin.readline ()
20052004 """
20062005 completion_disabled = False
20072006 orig_completer = None
You can’t perform that action at this time.
0 commit comments