rberga06.utils.types.ItemFunc#

class rberga06.utils.types.ItemFunc(func: Callable[[_A], _B], /)#

Bases: Generic[_A, _B]

Similar to a (_A, ) -> _B function, but called via […] instead of (…).

__init__(func: Callable[[_A], _B], /) None#

Methods

__init__(func, /)