(self, needs_lock: bool = True)
| 384 | return file |
| 385 | |
| 386 | def acquire(self, needs_lock: bool = True) -> T_File: |
| 387 | del needs_lock # unused |
| 388 | return self._get_unclosed_file() |
| 389 | |
| 390 | @contextmanager |
| 391 | def acquire_context(self, needs_lock: bool = True) -> Iterator[T_File]: |