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
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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 useabc
module. Here is the official documentation on Abstract Base Classes in Python