8 lines
142 B
Python
8 lines
142 B
Python
from abc import ABC, abstractmethod
|
|
|
|
|
|
class Observer(ABC):
|
|
@abstractmethod
|
|
def update(self, event):
|
|
raise NotImplementedError
|