mirror of
https://github.com/rjNemo/design-patterns
synced 2026-06-06 10:36:39 +00:00
11 lines
306 B
Python
11 lines
306 B
Python
from structural.composite.component import Component
|
|
|
|
|
|
class ConcreteComponent(Component):
|
|
"""
|
|
Concrete Components provide default implementations of the operations. There
|
|
might be several variations of these classes.
|
|
"""
|
|
|
|
def operation(self) -> str:
|
|
return "ConcreteComponent"
|