class documentation

class CallableReference(Generic[_FN]): (source)

View In Hierarchy

a descriptor that refers to a callable. works around mypy's limitation of not allowing callables assigned as instance variables

Method __delete__ Undocumented
Method __get__ Undocumented
Method __set__ Undocumented
def __delete__(self, instance: Any): (source)

Undocumented

def __get__(self, instance: object, owner: Any) -> _FN: (source)

Undocumented

def __set__(self, instance: Any, value: _FN): (source)

Undocumented