summaryrefslogtreecommitdiff
path: root/cmd2
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2018-08-21 17:01:20 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2018-08-21 17:01:20 -0400
commitede83be05f047451d56b7d28e2d66eed1c953adc (patch)
treecd44bd9a758c574c22da23a1f81abe1a03f36612 /cmd2
parent551f635ae14b814be6855e9ac8198216ad3a089c (diff)
downloadcmd2-git-ede83be05f047451d56b7d28e2d66eed1c953adc.tar.gz
Fixed type hinting for select function
Diffstat (limited to 'cmd2')
-rw-r--r--cmd2/cmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index 94b75e5f..f516248a 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -2470,7 +2470,7 @@ Usage: Usage: unalias [-a] name [name ...]
self._should_quit = True
return self._STOP_AND_EXIT
- def select(self, opts: Union[str, List[str], List[Tuple[str, Optional[str]]]], prompt: str='Your choice? ') -> str:
+ def select(self, opts: Union[str, List[str], List[Tuple[Any, Optional[str]]]], prompt: str='Your choice? ') -> str:
"""Presents a numbered menu to the user. Modelled after
the bash shell's SELECT. Returns the item chosen.