diff options
-rw-r--r-- | cmd2/parsing.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd2/parsing.py b/cmd2/parsing.py index 03937856..63766a8c 100644 --- a/cmd2/parsing.py +++ b/cmd2/parsing.py @@ -316,7 +316,8 @@ class StatementParser(): break return command - def _command_and_args(self, tokens: List[str]) -> Tuple[str, str]: + @staticmethod + def _command_and_args(tokens: List[str]) -> Tuple[str, str]: """given a list of tokens, and return a tuple of the command and the args as a string. """ |