mirror of
https://github.com/rjNemo/design-patterns
synced 2026-06-06 02:26:40 +00:00
11 lines
276 B
Python
11 lines
276 B
Python
from abc import ABC, abstractmethod
|
|
|
|
|
|
class AbstractProductA(ABC):
|
|
"""
|
|
Each distinct product of a product family should have a base interface. All
|
|
variants of the product must implement this interface.
|
|
"""
|
|
|
|
def useful_function_a(self) -> str:
|
|
pass
|