class documentation

class _EmptyListener(_InstanceLevelDispatch):

View In Hierarchy

Serves as a proxy interface to the events served by a _ClsLevelDispatch, when there are no instance-level events present.

Is replaced by _ListenerCollection when instance-level events are added.

Method __bool__ Undocumented
Method __call__ Execute this event.
Method __init__ Undocumented
Method __iter__ Undocumented
Method __len__ Undocumented
Method ​_needs​_modify Undocumented
Method for​_modify Return an event collection which can be modified.
Class Variable __slots__ Undocumented
Class Variable listeners Undocumented
Class Variable propagate Undocumented
Instance Variable name Undocumented
Instance Variable parent Undocumented
Instance Variable parent​_listeners Undocumented

Inherited from _InstanceLevelDispatch:

Method ​_adjust​_fn​_spec Undocumented

Inherited from RefCollection (via _InstanceLevelDispatch):

Method ​_memoized​_attr​_ref Undocumented

Inherited from MemoizedSlots (via _InstanceLevelDispatch, RefCollection):

Method __getattr__ Undocumented
Method ​_fallback​_getattr Undocumented
def __bool__(self):

Undocumented

def __call__(self, *args, **kw):
Execute this event.
def __init__(self, parent, target_cls):

Undocumented

def __iter__(self):

Undocumented

def __len__(self):

Undocumented

def _needs_modify(self, *args, **kw):

Undocumented

def for_modify(self, obj):

Return an event collection which can be modified.

For _EmptyListener at the instance level of a dispatcher, this generates a new _ListenerCollection, applies it to the instance, and returns it.

__slots__: tuple[str, ...] =
listeners: tuple =

Undocumented

propagate =

Undocumented

name =

Undocumented

parent =

Undocumented

parent_listeners =

Undocumented