__metaclass__

We can provide a custom metaclass by setting __metaclass__ in a class definition to any callable that takes the same arguments as type.

Source: Metaclasses in Five Minutes

added 2012-06-02T19:58:07Z by anders

Tags: python metaprogramming metaclasses