(Source: theanimalblog)
The Most Useless Machine EVER!
(Source: youtube.com)
Understanding Python decorators
@makebold
@makeitalic
def say():
return "hello"
print say()
#outputs: <b><i>hello</i></b>
# This is the exact equivalent to
def say():
return "hello"
say = makebold(makeitalic(say))
print say()
#outputs: <b><i>hello</i></b>
(Source: stackoverflow.com)
