(
self,
exc_type: Optional[Type[BaseException]],
exc_val: Optional[BaseException],
exc_tb: Optional[TracebackType],
)
| 200 | return self |
| 201 | |
| 202 | def __exit__( |
| 203 | self, |
| 204 | exc_type: Optional[Type[BaseException]], |
| 205 | exc_val: Optional[BaseException], |
| 206 | exc_tb: Optional[TracebackType], |
| 207 | ) -> None: |
| 208 | self.close() |
| 209 | |
| 210 | def __iter__(self) -> BinaryIO: |
| 211 | return self |