(
self,
exc_type: type[BaseException] | None,
exc: BaseException | None,
exc_tb: TracebackType | None,
)
| 113 | return self |
| 114 | |
| 115 | def __exit__( |
| 116 | self, |
| 117 | exc_type: type[BaseException] | None, |
| 118 | exc: BaseException | None, |
| 119 | exc_tb: TracebackType | None, |
| 120 | ) -> None: |
| 121 | self.close() |
| 122 | |
| 123 | def close(self) -> None: |
| 124 | """ |