ABCs provide a formal way to define interfaces in Python, while staying true to the spirit of duck-typing . Besides, this works in a way that honours the Open-Closed Principle.
ABCs provide a formal way to define interfaces in Python, while staying true to the spirit of duck-typing . Besides, this works in a way that honours the Open-Closed Principle.