Re:A primer on Python decorators
by wahnfrieden on Thursday April 12, 2012 @12:27AM
(#3831023)
You can use the return value of some function as a decorator, as a way to avoid global state and tie the decorator to a given instance of your routing object. (I don't know flask, but this isn't a limitation of python)
[ Parent
| on HN ]
There are no comments on this comment yet.