MetaClass

Metaclasses are the ‘stuff’ that creates classes

Here is a link to an excellent answer on StackOverflow: What is a metaclass in python