loading...

re: Metaclasses in Python VIEW POST

TOP OF THREAD FULL DISCUSSION
re: The way that you modified all of the attributes of the Sample was really great. It was simple enough to see what is going on and feel like I can g...
 

@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...

Code of Conduct Report abuse