A decorator, also called pie syntax. It allows you to "decorate" a function with another function. You already had decoration with staticmethod() and classmethod(). The pie syntax makes it more easy to access and extend.
A function definition may be wrapped by one or more decorator expressions. Decorator expressions are evaluated when the function is defined, in the scope that contains the function definition. The result must be a callable, which is invoked with the function object as the only argument. The returned value is bound to the function name instead of the function object. Multiple decorators are applied in nested fashion.
A decorator, also called pie syntax. It allows you to "decorate" a function with another function. You already had decoration with staticmethod() and classmethod(). The pie syntax makes it more easy to access and extend.
It is decorator syntax.
So doing something like this:
Is just a fancy way of doing this:
For more, check out the documentation.
That specific decorator looks like it comes from Django.
It might help you get a better understanding by reading the Django documentation about that decorator.
Some resources for decorator: decorator, PEP 318: Decorators for Functions and Methods, PythonDecorators and PythonDecoratorLibrary.
A decorator article on DDJ and another article (blog post).
It's a decorator. More here: http://www.ibm.com/developerworks/linux/library/l-cpdecor.html
If you ask this type of question you will probably be interested in the other hidden features of Python.