@Felthry They're syntactic sugar, these are equivalent:
@decorator
def func():
whatever
def func():
whatever
func = decorator(func)
@Trinket But what is the purpose of saying func = decorator(func)?
@Felthry Hm, are you asking for a better explanation, or are you saying you understand what they do and you just don't get why this is a common enough thing to need its own syntax?
@Felthry Oh hahah, yeah in practice I don't think I've ever actually written my own, the only ones I use regularly are @property and Pyramid's @view_config