summaryrefslogtreecommitdiff
path: root/cmd2/parsing.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2019-07-10 21:21:03 -0400
committerTodd Leonhardt <todd.leonhardt@gmail.com>2019-07-10 21:21:03 -0400
commit35ec62b1f8dc9a3de397cdcd9cdd66cd2c381f0e (patch)
tree65731c81d621d5fb546ab7f18b663d37471a8276 /cmd2/parsing.py
parentdbd83973b62b87e8dc74426af410b0852360f7e8 (diff)
downloadcmd2-git-35ec62b1f8dc9a3de397cdcd9cdd66cd2c381f0e.tar.gz
Restore self.statement_parser to a public attribute in cmd2.Cmd
Diffstat (limited to 'cmd2/parsing.py')
-rw-r--r--cmd2/parsing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/parsing.py b/cmd2/parsing.py
index 86087db1..2e94516a 100644
--- a/cmd2/parsing.py
+++ b/cmd2/parsing.py
@@ -324,7 +324,7 @@ class StatementParser:
This string is suitable for inclusion in an error message of your
choice:
- valid, errmsg = _statement_parser.is_valid_command('>')
+ valid, errmsg = statement_parser.is_valid_command('>')
if not valid:
errmsg = "Alias {}".format(errmsg)
"""