They are called decorators (in Java you would call them annotations).

http://en.wikipedia.org/wiki/Python_syntax_and_semantics#Decorators

A list of most common use-case examples can be seen at

http://www.ddj.com/web-development/184406073;jsessionid=OIH2TFBDT5IASQSNDLPCKH0CJUNN2JVN?_requestid=123392#l1

(the intro text is somewhat lengthy but still mostly relevant)

On Mar 27, 10:53 pm, Lagg <l.e.wilkow...@gmail.com> wrote:
> I've noticed that auth and services  use a "@" when they are
> implemented. Could someone provide me some links for the use of "@"
> functions in Python?
>
> In web2py it makes perfect sense as they are used as a "before X, do
> Y" type control, but I'm having trouble finding more generalized
> documenation for it's use
>
> Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to