DEV Community

Discussion on: Inheritance in Python

arsho profile image
Ahmedur Rahman Shovon Author • Edited on

In our case, we did not need to create an object of Speaker class. But this did not make it an abstract class. In Python to declare a class as abstract class, we need to use abc module. Here is the official documentation on Abstract Base Classes in Python