(
self,
exc_type: type[BaseException] | None,
exc: BaseException | None,
exc_tb: TracebackType | None,
)
| 1054 | return self |
| 1055 | |
| 1056 | def __exit__( |
| 1057 | self, |
| 1058 | exc_type: type[BaseException] | None, |
| 1059 | exc: BaseException | None, |
| 1060 | exc_tb: TracebackType | None, |
| 1061 | ) -> None: |
| 1062 | self.close() |
| 1063 | |
| 1064 | def _prepare_options( |
| 1065 | self, |