This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
Goal is to avoid reinventing the Wheel™, and try to use the python | |
language's mechanisms as much as possible, instead of implementing the | |
Type-Square pattern from scratch. | |
Entity is a metaclass. It descends from "type", and adds some extra data | |
to the class during its initialization. That data is used to "extend" the | |
"type" class. |
NewerOlder