Method
__exit__
(
self,
exc_type: type[BaseException] | None,
exc_val: BaseException | None,
exc_tb: TracebackType | None,
)
Source from the content-addressed store, hash-verified
| 486 | return self |
| 487 | |
| 488 | def __exit__( |
| 489 | self, |
| 490 | exc_type: type[BaseException] | None, |
| 491 | exc_val: BaseException | None, |
| 492 | exc_tb: TracebackType | None, |
| 493 | ) -> None: |
| 494 | self.close() |
| 495 | |
| 496 | def resize(self, min_size: int, max_size: int | None = None) -> None: |
| 497 | """Change the size of the pool during runtime.""" |
Callers
nothing calls this directly
Tested by
no test coverage detected