summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
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.