Update Python decorator.
Update Transforming code into Beautiful idiomatic python.