design-patterns/structural/decorator/component.py
2020-09-25 15:31:19 +02:00

8 lines
170 B
Python

class Component:
"""
The base Component interface defines operations that can be altered by
decorators.
"""
def operation(self) -> str:
pass