Context management protocol. Returns self (an instance of IOBase).
(self)
| 508 | ### Context manager ### |
| 509 | |
| 510 | def __enter__(self): # That's a forward reference |
| 511 | """Context management protocol. Returns self (an instance of IOBase).""" |
| 512 | self._checkClosed() |
| 513 | return self |
| 514 | |
| 515 | def __exit__(self, *args): |
| 516 | """Context management protocol. Calls close()""" |
nothing calls this directly
no test coverage detected