(
self,
exc_type: type[BaseException] | None,
exc: BaseException | None,
exc_tb: TracebackType | None,
)
| 65 | return self |
| 66 | |
| 67 | def __exit__( |
| 68 | self, |
| 69 | exc_type: type[BaseException] | None, |
| 70 | exc: BaseException | None, |
| 71 | exc_tb: TracebackType | None, |
| 72 | ) -> None: |
| 73 | self.close() |
| 74 | |
| 75 | def close(self) -> None: |
| 76 | """ |