class documentation

A PriorityDiffable is a PriorityComparable object that can also be added (and subtracted) with a delta type, or with itself to produce the delta type.

Method __add__ Add a delta to this PriorityDiffable, producing another instance of the same PriorityDiffable type.
Method __sub__ Undocumented

Inherited from PriorityComparable:

Method __le__ Is self lower or the same priority as other?
Method __lt__ Is self lower priority than other?
def __add__(self, addend: DeltaType) -> Self: (source)

Add a delta to this PriorityDiffable, producing another instance of the same PriorityDiffable type.

@overload
def __sub__(self, subtrahend: DeltaType) -> Self:
@overload
def __sub__(self, subtrahend: Self) -> DeltaType:
@overload
(source)

Undocumented