summaryrefslogtreecommitdiff
path: root/cmd2/utils.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-07-17 19:29:58 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2019-07-17 19:29:58 -0400
commit3a613d3e5d47d906a4d28e09e72a9a492373f61d (patch)
tree0dc08704ed3a0ca0139c4db2eec30e6e88dcfbee /cmd2/utils.py
parentd745c773cbb1a135cc30875736ef21cc629f3985 (diff)
downloadcmd2-git-3a613d3e5d47d906a4d28e09e72a9a492373f61d.tar.gz
Reduced complexity of complete()
Diffstat (limited to 'cmd2/utils.py')
-rw-r--r--cmd2/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/utils.py b/cmd2/utils.py
index 7f357a6c..57d0deee 100644
--- a/cmd2/utils.py
+++ b/cmd2/utils.py
@@ -624,7 +624,7 @@ def basic_complete(text: str, line: str, begidx: int, endidx: int, match_against
Basic tab completion function that matches against a list of strings without considering line contents
or cursor position. The args required by this function are defined in the header of Pythons's cmd.py.
- :param text: the string prefix we are attempting to match (all returned matches must begin with it)
+ :param text: the string prefix we are attempting to match (all 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