From line 54 in this example there is apparently something called a metaclass. I'm reading different code samples to check my understanding but have never seen this before.
Could someone explain what this "meta" code does exactly in this concrete example, or what the idea here is?
In addition I see the use of with_metaclass
that is just for Python 2/3 compatability (explained here). How would this code look like for Python 3? (In case all of this is just for compatability, etc)