(self, needs_lock: bool = True)
| 389 | |
| 390 | @contextmanager |
| 391 | def acquire_context(self, needs_lock: bool = True) -> Iterator[T_File]: |
| 392 | del needs_lock # unused |
| 393 | yield self._get_unclosed_file() |
| 394 | |
| 395 | def close(self, needs_lock: bool = True) -> None: |
| 396 | if not self._closed: |
nothing calls this directly
no test coverage detected