Python's object model

That’s about it. Really. Ok, I’m leaving out some of the details, but the oficial docs provide the full story, and this stackoverflow thread makes a great reading if you are looking to know more about metaclasses.

Edit: Added a couple of instances to the diagram too.