Run an interactive Python shell. :return: True if running of commands should stop.
(self, _: argparse.Namespace)
| 5012 | |
| 5013 | @with_argparser(_build_py_parser) |
| 5014 | def do_py(self, _: argparse.Namespace) -> bool | None: |
| 5015 | """Run an interactive Python shell. |
| 5016 | |
| 5017 | :return: True if running of commands should stop. |
| 5018 | """ |
| 5019 | # self.last_result will be set by _run_python() |
| 5020 | return self._run_python() |
| 5021 | |
| 5022 | @classmethod |
| 5023 | def _build_run_pyscript_parser(cls) -> Cmd2ArgumentParser: |
nothing calls this directly
no test coverage detected