Return any prefix argument that the user has supplied, returning `default' if there is None. Defaults to 1.
(self, default: int = 1)
| 524 | return len(self.screeninfo) - 1 |
| 525 | |
| 526 | def get_arg(self, default: int = 1) -> int: |
| 527 | """Return any prefix argument that the user has supplied, |
| 528 | returning `default' if there is None. Defaults to 1. |
| 529 | """ |
| 530 | if self.arg is None: |
| 531 | return default |
| 532 | return self.arg |
| 533 | |
| 534 | def get_prompt(self, lineno: int, cursor_on_line: bool) -> str: |
| 535 | """Return what should be in the left-hand margin for line |