Evictable
Mixin for classes supporting the evict method.
Attributes
| Attribute | Type | Description |
|---|---|---|
| Empty | Exception = Empty | Reference to the exception class raised when an eviction operation is attempted on an empty container. |
Methods
evict()
@classmethod
def evict() - > None
Force evict until maxsize is enforced.
Returns
| Type | Description |
|---|---|
None | Nothing is returned; the internal state is modified to satisfy size constraints |