EN: Concrete Components provide default implementations of the operations. There might be several variations of these classes. RU: Конкретные Компоненты предоставляют реализации поведения по умолчанию. Может быть несколько вариаций этих классов.
| 25 | |
| 26 | |
| 27 | class ConcreteComponent(Component): |
| 28 | """ |
| 29 | EN: Concrete Components provide default implementations of the operations. |
| 30 | There might be several variations of these classes. |
| 31 | |
| 32 | RU: Конкретные Компоненты предоставляют реализации поведения по умолчанию. |
| 33 | Может быть несколько вариаций этих классов. |
| 34 | """ |
| 35 | |
| 36 | def operation(self) -> str: |
| 37 | return "ConcreteComponent" |
| 38 | |
| 39 | |
| 40 | class Decorator(Component): |