News for hackers. Stuff that matters.
Re:A primer on Python decorators by axiak on Wednesday April 11, 2012 @08:21PM (#3830331)
The decorator can do anything. In flask the decorator syntax is just shorthand for adding the route to a registry which is looked up every request.

The source code is pitifully small: https://bitbucket.org/mitsuhiko/flask/src/4d82231621fc/flask...

There are no comments on this comment yet.