(
self,
bpython_history: None | (list[tuple[int, None, list[str], str]]) = None,
*args,
**kwargs,
)
| 7 | to also remember (in an unerasable way) bpython console input.""" |
| 8 | |
| 9 | def __init__( |
| 10 | self, |
| 11 | bpython_history: None | (list[tuple[int, None, list[str], str]]) = None, |
| 12 | *args, |
| 13 | **kwargs, |
| 14 | ) -> None: |
| 15 | super().__init__(*args, **kwargs) |
| 16 | self.bpython_history = bpython_history or [] |
| 17 | |
| 18 | def is_bpython_filename(self, fname: Any) -> bool: |
| 19 | return isinstance(fname, str) and fname.startswith("<bpython-input-") |
nothing calls this directly
no outgoing calls
no test coverage detected