(self, filename: str)
| 239 | self.encdetector = UniversalDetector() |
| 240 | |
| 241 | def open(self, filename: str) -> tuple[list[tuple[bool, int, list[str]]], str]: |
| 242 | if self.use_chardet: |
| 243 | return self.open_with_chardet(filename) |
| 244 | return self.open_with_internal(filename) |
| 245 | |
| 246 | def open_with_chardet( |
| 247 | self, filename: str |