summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
authorkotfu <kotfu@kotfu.net>2018-05-27 21:38:51 -0600
committerkotfu <kotfu@kotfu.net>2018-05-27 21:38:51 -0600
commit3b49e52cc55cbfc7ed8fa0cedc97d626325a4bd1 (patch)
treebae21b6a21999a3a68ba653a77640638d9cd47b0 /cmd2/cmd2.py
parentf616d78ba70b6f48a2c94a66d4657f4e214b3155 (diff)
parent76c29610672e30a12aae3d75adf34b085571fe9f (diff)
downloadcmd2-git-3b49e52cc55cbfc7ed8fa0cedc97d626325a4bd1.tar.gz
Merge branch 'master' into plugin_functions
# Conflicts: # cmd2/cmd2.py
Diffstat (limited to 'cmd2/cmd2.py')
-rw-r--r--cmd2/cmd2.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index d1d9747c..045e6a1b 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -1624,20 +1624,6 @@ class Cmd(cmd.Cmd):
return raw
# noinspection PyMethodMayBeStatic
- def postparse(self, statement: Statement) -> Statement:
- """Hook that runs immediately after parsing the user input.
-
- :param statement: Statement object populated by parsing
- :return: Statement - potentially modified Statement object
- """
- return statement
-
- #
- def hook_postparsing(self, statement: Statement) -> Tuple[bool, Statement]:
- stop = False
- return stop, statement
-
- # noinspection PyMethodMayBeStatic
def postparsing_precmd(self, statement: Statement) -> Tuple[bool, Statement]:
"""This runs after parsing the command-line, but before anything else; even before adding cmd to history.