Use print_stack_entry to print frames in Python 3.14+.
(self, arg)
| 634 | self.shell.hooks.synchronize_with_editor(filename, lineno, 0) |
| 635 | |
| 636 | def _pdbcmd_print_frame_status(self, arg): |
| 637 | """Use print_stack_entry to print frames in Python 3.14+.""" |
| 638 | if sys.version_info[:2] >= (3, 14): |
| 639 | # This is the only line changed from the base class. |
| 640 | self.print_stack_entry(self.stack[self.curindex]) |
| 641 | |
| 642 | # Same as in 3.14 |
| 643 | self._validate_file_mtime() |
| 644 | self._show_display() |
| 645 | else: |
| 646 | # 3.13 and 3.12 don't need any changes. |
| 647 | super()._pdbcmd_print_frame_status(arg) # type: ignore[misc] |
| 648 | |
| 649 | def _get_frame_locals(self, frame): |
| 650 | """ " |
nothing calls this directly
no test coverage detected