diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-03-17 00:52:34 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-03-17 00:52:34 -0400 |
commit | 40f75f7453c3df83d8e74a281ec1311d53b23eec (patch) | |
tree | 58ef97822a095b085fb700c28ed7de9ba6e9ea0f /cmd2/parsing.py | |
parent | 7db2786706e3f4b5cfbf90c88c29ba1ee1f1f39c (diff) | |
download | cmd2-git-40f75f7453c3df83d8e74a281ec1311d53b23eec.tar.gz |
Updated docs and example
Diffstat (limited to 'cmd2/parsing.py')
-rw-r--r-- | cmd2/parsing.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd2/parsing.py b/cmd2/parsing.py index f2fe7628..514f5faf 100644 --- a/cmd2/parsing.py +++ b/cmd2/parsing.py @@ -351,7 +351,7 @@ class StatementParser: :param expand: If True, then aliases and shortcuts will be expanded. Set this to False if no expansion should occur because the command name is already known. Otherwise the command could be expanded if it matched an alias name. This is for cases where - a do_* function was called manually (e.g do_help('alias'). + a do_* method was called manually (e.g do_help('alias'). :return: A list of tokens :raises ValueError if there are unclosed quotation marks. """ @@ -381,7 +381,7 @@ class StatementParser: :param expand: If True, then aliases and shortcuts will be expanded. Set this to False if no expansion should occur because the command name is already known. Otherwise the command could be expanded if it matched an alias name. This is for cases where - a do_* function was called manually (e.g do_help('alias'). + a do_* method was called manually (e.g do_help('alias'). :return: A parsed Statement :raises ValueError if there are unclosed quotation marks """ |