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 /docs | |
parent | e7bf6c193e7adb55986af730eb5bbd9facb182f7 (diff) | |
download | cmd2-git-1054dda76b87d9f7f77311d8d804c1017b668996.tar.gz |
Fixed type hints in example code1.3.9
Diffstat (limited to 'docs')
-rw-r--r-- | docs/features/modular_commands.rst | 2 |
1 files changed, 1 insertions, 1 deletions
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') |