(
self,
exc_type: type[BaseException] | None,
exc: BaseException | None,
exc_tb: TracebackType | None,
)
| 882 | return self |
| 883 | |
| 884 | def __exit__( |
| 885 | self, |
| 886 | exc_type: type[BaseException] | None, |
| 887 | exc: BaseException | None, |
| 888 | exc_tb: TracebackType | None, |
| 889 | ) -> None: |
| 890 | self.close() |
| 891 | |
| 892 | def _prepare_options( |
| 893 | self, |