diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-09-03 23:04:54 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-09-03 23:04:54 -0400 |
commit | 1054dda76b87d9f7f77311d8d804c1017b668996 (patch) | |
tree | 5d052b6463a0e49f9716094750e2ce3555e31316 /tests_isolated | |
parent | e7bf6c193e7adb55986af730eb5bbd9facb182f7 (diff) | |
download | cmd2-git-1054dda76b87d9f7f77311d8d804c1017b668996.tar.gz |
Fixed type hints in example code1.3.9
Diffstat (limited to 'tests_isolated')
-rw-r--r-- | tests_isolated/test_commandset/test_commandset.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests_isolated/test_commandset/test_commandset.py b/tests_isolated/test_commandset/test_commandset.py index 1685accf..d7f2523e 100644 --- a/tests_isolated/test_commandset/test_commandset.py +++ b/tests_isolated/test_commandset/test_commandset.py @@ -647,7 +647,7 @@ class AppWithSubCommands(cmd2.Cmd): bokchoy_parser.add_argument('style', completer_method=complete_style_arg) @cmd2.as_subcommand_to('cut', 'bokchoy', bokchoy_parser) - def cut_bokchoy(self, _: cmd2.Statement): + def cut_bokchoy(self, _: argparse.Namespace): self.poutput('Bok Choy') |