Entries Tagged as 'example'

Python decorators

As another example of what you could do with python 2.4 decorators, I tried to wrap class methods in a database transaction, and this is what it became: