Tag: interface

Home / interface
Implementing an Interface in Python
Post

Implementing an Interface in Python

Originally posted on realpython Table of Contents Python Interface Overview Informal Interfaces Using Metaclasses Using Virtual Base Classes Formal Interfaces Using abc.ABCMeta Using .__subclasshook__() Using abc to Register a Virtual Subclass Using Subclass Detection With Registration Using Abstract Method Declaration Interfaces in Other Languages Java C++ Go Conclusion Interfaces play an important role in software...