From 1054dda76b87d9f7f77311d8d804c1017b668996 Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Thu, 3 Sep 2020 23:04:54 -0400 Subject: Fixed type hints in example code --- docs/features/modular_commands.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/features/modular_commands.rst') diff --git a/docs/features/modular_commands.rst b/docs/features/modular_commands.rst index 611660ff..6159bc41 100644 --- a/docs/features/modular_commands.rst +++ b/docs/features/modular_commands.rst @@ -293,7 +293,7 @@ command and each CommandSet bokchoy_parser.add_argument('style', choices=['quartered', 'diced']) @cmd2.as_subcommand_to('cut', 'bokchoy', bokchoy_parser) - def cut_bokchoy(self, _: cmd2.Statement): + def cut_bokchoy(self, _: argparse.Namespace): self._cmd.poutput('Bok Choy') -- cgit v1.2.1