DEV Community

loading...

Discussion on: Metaclasses in Python

Collapse
sharmapacific profile image
Prashant Sharma Author

@Waylon, of course, it could be a full article in itself, but for now, in short -
abstract base classes cannot be instantiated. But we can pass as parent class whose child class should have all the abstract methods defined in the abstract class.

The metaClass is a class whose instances are classes.

For more, you can go through here- stackoverflow.com/questions/357079...