Friday, May 3, 2019

Abstract Classes

Abstract Classes

Abstract classes are classes that contain one or more abstract methods. An abstract method is a method that is declared, but contains no i...
Count Method Calls Using a Metaclass

Count Method Calls Using a Metaclass

Introduction After you have hopefully gone through our chapter  Introduction into Metaclasses  you may have asked yourself about possib...
Metaclasses

Metaclasses

A metaclass is a class whose instances are classes. Like an "ordinary" class defines the behavior of the instances of the class,...