From 40f75f7453c3df83d8e74a281ec1311d53b23eec Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Sun, 17 Mar 2019 00:52:34 -0400 Subject: Updated docs and example --- cmd2/parsing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd2/parsing.py') 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 """ -- cgit v1.2.1