diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-09-21 10:08:05 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-09-21 10:08:05 -0400 |
commit | 0817978fcd67bc8e84369d163aff55c1a614b711 (patch) | |
tree | bf429e51da76aaae43f61d54d5eabb4c2fc5c9c9 /cmd2/argparse_completer.py | |
parent | b89e0b369a0d11a78503ead276da28059c54db45 (diff) | |
download | cmd2-git-0817978fcd67bc8e84369d163aff55c1a614b711.tar.gz |
Removed remaining type hints in docstrings
Diffstat (limited to 'cmd2/argparse_completer.py')
-rwxr-xr-x | cmd2/argparse_completer.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cmd2/argparse_completer.py b/cmd2/argparse_completer.py index 0e241cd9..450d793d 100755 --- a/cmd2/argparse_completer.py +++ b/cmd2/argparse_completer.py @@ -676,12 +676,12 @@ class AutoCompleter(object): """ Performs tab completion against a list - :param text: str - the string prefix we are attempting to match (all returned matches must begin with it) - :param line: str - the current input line with leading whitespace removed - :param begidx: int - the beginning index of the prefix text - :param endidx: int - the ending index of the prefix text - :param match_against: Collection - the list being matched against - :return: List[str] - a list of possible tab completions + :param text: the string prefix we are attempting to match (all returned matches must begin with it) + :param line: the current input line with leading whitespace removed + :param begidx: the beginning index of the prefix text + :param endidx: the ending index of the prefix text + :param match_against: the list being matched against + :return: a list of possible tab completions """ return [cur_match for cur_match in match_against if cur_match.startswith(text)] |