(self, maxlength: int)
| 173 | return self.config.module_completer.get_completions(line) |
| 174 | |
| 175 | def get_trimmed_history(self, maxlength: int) -> list[str]: |
| 176 | if maxlength >= 0: |
| 177 | cut = len(self.history) - maxlength |
| 178 | if cut < 0: |
| 179 | cut = 0 |
| 180 | else: |
| 181 | cut = 0 |
| 182 | return self.history[cut:] |
| 183 | |
| 184 | def update_last_used_indentation(self) -> None: |
| 185 | indentation = _get_first_indentation(self.buffer) |
no outgoing calls
no test coverage detected