EN: The Adaptee contains some useful behavior, but its interface is incompatible with the existing client code. The Adaptee needs some adaptation before the client code can use it. RU: Адаптируемый класс содержит некоторое полезное поведение, но его интерфейс несовместим с суще
| 24 | |
| 25 | |
| 26 | class Adaptee: |
| 27 | """ |
| 28 | EN: The Adaptee contains some useful behavior, but its interface is |
| 29 | incompatible with the existing client code. The Adaptee needs some |
| 30 | adaptation before the client code can use it. |
| 31 | |
| 32 | RU: Адаптируемый класс содержит некоторое полезное поведение, но его |
| 33 | интерфейс несовместим с существующим клиентским кодом. Адаптируемый класс |
| 34 | нуждается в некоторой доработке, прежде чем клиентский код сможет его |
| 35 | использовать. |
| 36 | """ |
| 37 | |
| 38 | def specific_request(self) -> str: |
| 39 | return ".eetpadA eht fo roivaheb laicepS" |
| 40 | |
| 41 | |
| 42 | class Adapter(Target): |