mirror of
https://github.com/rjNemo/design-patterns
synced 2026-06-06 10:36:39 +00:00
* update gitignore * add decorator code example Co-authored-by: Ruidy <r.nemausat@empfohlen.de>
8 lines
170 B
Python
8 lines
170 B
Python
class Component:
|
|
"""
|
|
The base Component interface defines operations that can be altered by
|
|
decorators.
|
|
"""
|
|
|
|
def operation(self) -> str:
|
|
pass
|