| Total Complexity | 1 |
| Total Lines | 13 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | """ |
||
| 13 | 1 | class EventActor: |
|
| 14 | """ |
||
| 15 | Parent class for classes that fire events and for classes that listen for events. |
||
| 16 | """ |
||
| 17 | |||
| 18 | # ------------------------------------------------------------------------------------------------------------------ |
||
| 19 | 1 | def __init__(self): |
|
| 20 | 1 | self.ref = weakref.ref(self, Event.event_controller.internal_unregister_listener_object_ref) |
|
| 21 | 1 | """ |
|
| 22 | The weak reference to this event actor. |
||
| 23 | |||
| 24 | :type: weakref |
||
| 25 | """ |
||
| 26 | |||
| 28 |