changeset 13 | 19ebde2fd594 |
parent 12 | bb7d41be0c44 |
child 32 | 088b92ffb119 |
12:bb7d41be0c44 | 13:19ebde2fd594 |
---|---|
1 # -*- coding: utf-8 -*- |
1 # -*- coding: utf-8 -*- |
2 |
2 |
3 class EventSource: |
3 class EventSource: |
4 '''Event source mixin.''' |
4 |
5 '''Event source base class.''' |
|
5 |
6 |
6 def __init__(self): |
7 def __init__(self): |
7 self.event = dict() |
8 self.event = dict() |
8 |
9 |
9 def addevents(self, *events): |
10 def addevents(self, *events): |