Skip to content

Commit c474c4c

Browse files
committed
Fixed sphinx doc error
1 parent 9a53e36 commit c474c4c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cmd2/cmd2.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)