diff options
author | kmvanbrunt <kmvanbrunt@gmail.com> | 2018-09-21 12:00:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-21 12:00:39 -0400 |
commit | 1a5967e747cfd6ffdd8c87a4ed5206d6018a1240 (patch) | |
tree | 4a76899ce4095e54a6df3face436b6fb242cbee4 /cmd2/argparse_completer.py | |
parent | 89097505f50d295a3879b3be3eec45bcdb9d08eb (diff) | |
parent | ad510a64532a6b7855b0c494ed1a24a68bd7b24e (diff) | |
download | cmd2-git-1a5967e747cfd6ffdd8c87a4ed5206d6018a1240.tar.gz |
Merge pull request #531 from python-cmd2/typehints
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)] |