Software Development Videos and Tutorials: Java, .NET, Ruby, Python, JavaScript, Agile, Software Testing
 
Tag: <span>python</span>

Metaclasses in Python

Metaclasses take the mantra “everything is an object” to the next level. One of Python’s fascinating lesser-known features, they allow you to intervene on the creation of classes themselves, and not just their instances. So in other words, metaclasses are like classes for classes, but when would you ever need …