design-patterns/creational/abstract-factory/AbstractProductA.py
Ruidy 7b0e4a5801
Singleton (#6)
* singleton example

* chore: enforce style guidelines
2020-09-14 21:27:39 +02:00

11 lines
260 B
Python

from abc import ABC
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