Listener
full name: tenpy.tools.events.Listener
parent module:
tenpy.tools.events
type: class
Inheritance Diagram
Methods
|
|
|
Return number of occurrences of value. |
|
Return first index of value. |
Class Attributes and Properties
Alias for field number 1 |
|
Alias for field number 3 |
|
Alias for field number 0 |
|
Alias for field number 2 |
- class tenpy.tools.events.Listener(listener_id, callback, priority, extra_kwargs)[source]
Bases:
tuple
- callback
Alias for field number 1
- count(value, /)
Return number of occurrences of value.
- extra_kwargs
Alias for field number 3
- index(value, start=0, stop=9223372036854775807, /)
Return first index of value.
Raises ValueError if the value is not present.
- listener_id
Alias for field number 0
- priority
Alias for field number 2