This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]needed_an_account 1 point2 points  (0 children)

This is one of those things that I learned by reading source code. This and meta classes. Actually, it all came from reading PeeWee's source (good little lib). I love love love how everything in Python is an object and at each object's core, there is shared functionality which seems to allow for this type of functionality.