At some point I encountered a piece of code like this, written in python:
class Foo(object):
@Mystery
def bar():
return 5+3
print Foo().bar
Which printed 8. However I cannot remember what the decorator was called. Am I imagining things, or does this exist? And if it does exist what is it called?