Context management protocol. Returns self (an instance of IOBase).
(self)
| 477 | ### Context manager ### |
| 478 | |
| 479 | def __enter__(self): # That's a forward reference |
| 480 | """Context management protocol. Returns self (an instance of IOBase).""" |
| 481 | self._checkClosed() |
| 482 | return self |
| 483 | |
| 484 | def __exit__(self, *args): |
| 485 | """Context management protocol. Calls close()""" |
nothing calls this directly
no test coverage detected