(self, line: str)
| 505 | # like readline.c |
| 506 | |
| 507 | def add_history(self, line: str) -> None: |
| 508 | self.get_reader().history.append(self._histline(line)) |
| 509 | |
| 510 | def set_startup_hook(self, function: Callback | None = None) -> None: |
| 511 | self.startup_hook = function |